A line segment
| C# | Visual Basic | Visual C++ |
public struct LineSegment2DF
Public Structure LineSegment2DF
public value class LineSegment2DF
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| LineSegment2DF(PointF, PointF) |
Create a line segment with the specific starting point and end point
| |
| Direction | The direction of the line, the norm of which is 1 | |
| Equals(Object) | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
| 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.) | |
| GetExteriorAngleDegree(LineSegment2DF) |
Get the exterior angle between this line and otherLine | |
| GetHashCode()()() | Returns the hash code for this instance. (Inherited from ValueType.) | |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Length |
Get the length of the line segment
| |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| P1 | A point on the line | |
| P2 | An other point on the line | |
| Side(PointF) |
Determin which side of the line the 2D point is at
| |
| ToString()()() | Returns the fully qualified type name of this instance. (Inherited from ValueType.) | |
| YByX(Single) | Obtain the Y value from the X value using first degree interpolation |