Method | Description | |
---|---|---|
DistanceToPoint ( DoublePoint point ) : double |
Calculate Euclidean distance between a point and a finite line segment.
|
|
GetIntersectionWith ( Line other ) : DoublePoint? |
Finds, provided it exists, the intersection point with the specified Line. If the line and the segment do not intersect, the method returns |
|
GetIntersectionWith ( |
Finds, provided it exists, the intersection point with the specified LineSegment. If the two segments do not intersect, the method returns |
|
LineSegment ( DoublePoint start, DoublePoint end ) : System |
Initializes a new instance of the LineSegment class.
|
Method | Description | |
---|---|---|
LocateProjection ( DoublePoint point ) : ProjectionLocation |
public DistanceToPoint ( DoublePoint point ) : double | ||
point | DoublePoint | The point to calculate the distance to. |
return | double |
public GetIntersectionWith ( Line other ) : DoublePoint? | ||
other | Line | |
return | DoublePoint? |
public GetIntersectionWith ( |
||
other | ||
return | DoublePoint? |
public LineSegment ( DoublePoint start, DoublePoint end ) : System | ||
start | DoublePoint | Segment's start point. |
end | DoublePoint | Segment's end point. |
return | System |