CRaPI - Correct Robust and Perfect API

Line2D Members

Line2D overview

Public Instance Constructors

Line2D Constructor Constructs a Line2D

Public Instance Properties

EndEnd position of line
LengthLength of Line. Point2D substraction
StartStart position of line
XLengthLength in X of Line
YLengthLength in Y of Line

Public Instance Methods

Equals (inherited from ValueType)Indicates whether this instance and a specified object are equal.
GetHashCode (inherited from ValueType)Returns the hash code for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
Intersection Calculates where two lines intersect.
Intersects Checks if this Line2D intersects another Line2D
OnLine Checks if a Point2D is on this Line2D
ToString (inherited from ValueType)Returns the fully qualified type name of this instance.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Line2D Class | TeamYaffa.CRaPI.Utility Namespace