Click or drag to resize
Accord.NET (logo)

Line Methods

The Line type exposes the following members.

Methods
  NameDescription
Public methodDistanceToPoint
Calculate Euclidean distance between a point and a line.
Public methodEquals
Check if this instance of Line equals to the specified one.
(Overrides ObjectEquals(Object).)
Public methodStatic memberFromPoints
Creates a Line that goes through the two specified points.
Public methodStatic memberFromPointTheta
Constructs a Line from a point and an angle (in degrees).
Public methodStatic memberFromRTheta
Constructs a Line from a radius and an angle (in degrees).
Public methodStatic memberFromSlopeIntercept
Creates a Line with the specified slope and intercept.
Public methodGetAngleBetweenLines
Calculate minimum angle between this line and the specified line measured in [0, 90] degrees range.
Public methodGetHashCode
Get hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetIntersectionWith(Line)
Finds intersection point with the specified line.
Public methodGetIntersectionWith(LineSegment)
Finds, provided it exists, the intersection point with the specified LineSegment.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Get string representation of the class.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also