The LineSegment type exposes the following members.

Constructors

  NameDescription
Public methodLineSegment()()()()
Initializes a new instance of the LineSegment class
Public methodLineSegment(Point2D, Point2D)
Initializes a new instance of the LineSegment class

Methods

  NameDescription
Public methodDistance
Finds the distance of a specified point from the line segment and the closest point on the segment to the specified point.
Public methodEquals (Overrides Object..::..Equals(Object).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode (Overrides Object..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
Public fieldA
Public fieldB

See Also