The Line type exposes the following members.

Methods

  NameDescription
DistanceToPoint
Calculate Euclidean distance between a point and a line.
Equals
Check if this instance of Line equals to the specified one.
(Overrides Object..::.Equals(Object).)
FromPoints
Creates a Line that goes through the two specified points.
FromPointTheta
Constructs a Line from a point and an angle (in degrees).
FromRTheta
Constructs a Line from a radius and an angle (in degrees).
FromSlopeIntercept
Creates a Line with the specified slope and intercept.
GetAngleBetweenLines
Calculate minimum angle between this line and the specified line measured in [0, 90] degrees range.
GetHashCode
Get hash code for this instance.
(Overrides Object..::.GetHashCode()()().)
GetIntersectionWithOverloaded.
ToString
Get string representation of the class.
(Overrides Object..::.ToString()()().)

Operators

  NameDescription
Equality
Equality operator - checks if two lines have equal parameters.
Inequality
Inequality operator - checks if two lines have different parameters.

See Also