Name | Description | |
---|---|---|
Segment2D Constructor | Overloaded. |
The following tables list the members exposed by Segment2D.
Name | Description | |
---|---|---|
Segment2D Constructor | Overloaded. |
Name | Description | |
---|---|---|
IsPoint | If true, the segment is a degenerated one (a point). | |
Length | Gets the 2D segment length. | |
MidPoint | Gets the segment mid point. | |
Normal | Gets the 2D segment normal vector (not normalized). |
Name | Description | |
---|---|---|
AreCollinear | Returns true if the two segments are collinear. | |
Clone | Creates a deep copy of this 2D segment. | |
ClosestPointTo | Finds the point inside the segment that is closest to given point. | |
ExtendBy | Extends the segment of the amount provided. | |
Intersection | Overloaded. Computes the intersection of two 2D segments. | |
IntersectionAndT | Computes the intersection of two 2D segments. | |
IntersectionLine | Computes the intersection of two infinite 2D lines. | |
IntersectionLineInternal | ||
Offset | ||
PointAt | Evaluates a point on (infinite) segment. | |
Project | Finds the point on the (infinite) line that is closest to given point. | |
Tan | ||
ToString | Converts this 2D segment to a human readable string. |