CADability dotNET
The Geometry type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | CircleFit |
tries to find a center and radius for a circle which best fits to the provided points
|
![]() ![]() | Dist(GeoPoint, GeoPoint) |
Returns the distance of the two 3d points.
|
![]() ![]() | Dist(GeoPoint2D, GeoPoint2D) |
Returns the distance of the two 2d points.
|
![]() ![]() | DistLL |
Calculates the minimal distance between two lines and the parameter on the lines where the minimal
distance occures. If the lines are parallel, the parameters will be double.MaxValue.
The point l1Start + par1*l1Dir is closest
to the second line, and the point l2Start + par2*l2Dir is closest
to the first line.
|
![]() ![]() | DistPL(GeoPoint, GeoPoint, GeoPoint) |
Returns the distance of a point from a line (3d)
|
![]() ![]() | DistPL(GeoPoint, GeoPoint, GeoVector) |
Returns the distance of a point from a line (2d)
|
![]() ![]() | DistPL(GeoPoint2D, GeoPoint2D, GeoPoint2D) |
Returns the distance of a point from a line (2d), the distance is positive when the point is on the left side of the
line, negative on the right side.
|
![]() ![]() | DistPL(GeoPoint2D, GeoPoint2D, GeoVector2D) |
Returns the distance of a point from a line (2d)
|
![]() ![]() | DropPL(GeoPoint, GeoPoint, GeoPoint) |
Returns the perpendicular foot point of point p on the line (s,e)
|
![]() ![]() | DropPL(GeoPoint, GeoPoint, GeoVector) |
Returns the perpendicular foot point of point p on the line through s
with direction v
|
![]() ![]() | DropPL(GeoPoint2D, GeoPoint2D, GeoPoint2D) |
Returns the perpendicular foot point of point p on the line (lstart,lend)
|
![]() ![]() | DropPL(GeoPoint2D, GeoPoint2D, GeoVector2D) |
Returns the perpendicular foot point of point p on the line through s
with direction v
|
![]() ![]() | GetPosition | |
![]() ![]() | InnerIntersection |
Returns true if the line segments p1->p2 and p3->p4 have an inner intersection, i.e. an intersection point inside
the bounds of the line segment. Returns false otherwise, returns false if the intersection point coincides with
one of the two lines
|
![]() ![]() | IntersectCC |
Returns the intersection points of two circles in 2d.
The result may contain 0 to 2 points.
|
![]() ![]() | IntersectLC(GeoPoint2D, GeoPoint2D, GeoPoint2D, Double) |
Returns the intersection points of a circle and a line in 2d.
The result may contain 0 to 2 points.
|
![]() ![]() | IntersectLC(GeoPoint2D, GeoVector2D, GeoPoint2D, Double) |
Returns the intersection points of a circle and a line in 2d.
The result may contain 0 to 2 points.
|
![]() ![]() | IntersectLL(GeoPoint2D, GeoPoint2D, GeoPoint2D, GeoPoint2D, GeoPoint2D%) |
Calculates the intersectionpoint of two lines in 2d. The intersection point may be in any
extension of the two lines.
|
![]() ![]() | IntersectLL(GeoPoint2D, GeoVector2D, GeoPoint2D, GeoVector2D, GeoPoint2D%) |
Calculates the intersectionpoint of two lines in 2d.
|
![]() ![]() | LineFit | |
![]() ![]() | LinePar(GeoPoint, GeoPoint, GeoPoint) | |
![]() ![]() | LinePar(GeoPoint, GeoVector, GeoPoint) | |
![]() ![]() | LinePar(GeoPoint2D, GeoPoint2D, GeoPoint2D) | |
![]() ![]() | LinePar(GeoPoint2D, GeoVector2D, GeoPoint2D) |
Liefert den Parameter des gegebenen Punktes auf der gegebenen Linie
|
![]() ![]() | LinePos(GeoPoint, GeoPoint, Double) | |
![]() ![]() | LinePos(GeoPoint2D, GeoPoint2D, Double) | |
![]() ![]() | OnLeftSide(GeoPoint2D, GeoPoint2D, GeoPoint2D) | |
![]() ![]() | OnLeftSide(GeoPoint2D, GeoPoint2D, GeoVector2D) |
Checks whether the point P is on the left side of the line given by lstart and ldir.
If the point lies exactly on the line, the result is false. There is no precision or epsilon test.
|
![]() ![]() | OnSameSide(GeoPoint2D, GeoPoint2D, GeoPoint2D, GeoPoint2D) |
Returns true, if p1 an p2 are on the same side of the line given by p3 and p4. Also returns
true if one of the two points p1 and p2 coincide with the line (p3,p4)
|
![]() ![]() | OnSameSide(GeoPoint2D, GeoPoint2D, GeoPoint2D, GeoVector2D) | |
![]() ![]() | PointInsideTriangle | |
![]() ![]() | SegmentInnerIntersection |
Same as SegmentIntersection(GeoPoint2D, GeoPoint2D, GeoPoint2D, GeoPoint2D), but returns true only if the intersection happens in the inside of
the two segments, not at the endpoints
|
![]() ![]() | SegmentIntersection |
Returns true, if the two line segments given by (p0,p1) and (p2,p3) have a common intersection. The intersection
point is noct calculated. This Method is intended as a fast check for intersection or not. Returns true, if
one segment starts or ends on the other segment.
|