Click or drag to resize
Accord.NET (logo)

LineSegment Methods

The LineSegment type exposes the following members.

Methods
  NameDescription
Public methodDistanceToPoint
Calculate Euclidean distance between a point and a finite line segment.
Public methodEquals
Check if this instance of LineSegment equals to the specified one.
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Get hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetIntersectionWith(Line)
Finds, provided it exists, the 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