Click or drag to resize

Line2D Class

2-dimentional line vector
Inheritance Hierarchy
SystemObject
  OpenCvSharpLine2D

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public class Line2D

The Line2D type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyVx
The X component of the normalized vector collinear to the line
Public propertyVy
The Y component of the normalized vector collinear to the line
Public propertyX1
X-coordinate of some point on the line
Public propertyY1
Y-coordinate of some point on the line
Top
Methods
  NameDescription
Public methodDistance(Point)
Returns the distance between this line and the specified point
Public methodDistance(Point2d)
Returns the distance between this line and the specified point
Public methodDistance(Point2f)
Returns the distance between this line and the specified point
Public methodDistance(Double, Double)
Returns the distance between this line and the specified point
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFitSize
Fits this line to the specified size (for drawing)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVectorAngle
Public methodGetVectorRadian
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.)
Top
See Also