The LineSegment2D type exposes the following members.

Constructors

  NameDescription
LineSegment2D
Create a line segment with the specific starting point and end point

Methods

  NameDescription
Equals
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
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.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Side
Determine which side of the line the 2D point is at
ToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)

Properties

  NameDescription
Direction
The direction of the line, the norm of which is 1
Length
Get the length of the line segment
P1
A point on the line
P2
An other point on the line

See Also