Table of Contents

Class Line3D

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

A 3-dimensional line object

public class Line3D
Inheritance
Line3D
Inherited Members

Constructors

Line3D(double, double, double, double, double, double)

Initializes this object

Line3D(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

Vz

The Z 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

Z1

Z-coordinate of some point on the line

Methods

Distance(Point3d)

Returns the distance between this line and the specified point

Distance(Point3f)

Returns the distance between this line and the specified point

Distance(double, double, double)

Returns the distance between this line and the specified point

PerpendicularFoot(Point3d)

Perpendicular foot

PerpendicularFoot(Point3f)

Perpendicular foot

PerpendicularFoot(double, double, double)

Perpendicular foot