Class Line2D
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
2-dimentional line vector
public class Line2D
- Inheritance
-
Line2D
- Inherited Members
Constructors
- Line2D(double, double, double, double)
Initializes this object
- Line2D(float[])
Initializes by cvFitLine output
Properties
- Vx
The X component of the normalized vector collinear to the line
- Vy
The Y component of the normalized vector collinear to the line
- X1
X-coordinate of some point on the line
- Y1
Y-coordinate of some point on the line
Methods
- Distance(Point)
Returns the distance between this line and the specified point
- Distance(Point2d)
Returns the distance between this line and the specified point
- Distance(Point2f)
Returns the distance between this line and the specified point
- Distance(double, double)
Returns the distance between this line and the specified point
- FitSize(int, int, out Point, out Point)
Fits this line to the specified size (for drawing)