The LineSegment type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| LineSegment()()()() | Initializes a new instance of the LineSegment class | |
| LineSegment(Point2D, Point2D) | Initializes a new instance of the LineSegment class |
Methods
| Name | Description | |
|---|---|---|
| Distance |
Finds the distance of a specified point from the line segment and the
closest point on the segment to the specified point.
| |
| Equals | (Overrides Object..::..Equals(Object).) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | (Overrides Object..::..GetHashCode()()()().) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Inherited from Object.) |