Show / Hide Table of Contents

Class Line3D

A 3-dimensional line object

Inheritance
System.Object
Line3D
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public class Line3D

Constructors

| Improve this Doc View Source

Line3D(Double, Double, Double, Double, Double, Double)

Initializes this object

Declaration
public Line3D(double vx, double vy, double vz, double x1, double y1, double z1)
Parameters
Type Name Description
System.Double vx

The X component of the normalized vector collinear to the line

System.Double vy

The Y component of the normalized vector collinear to the line

System.Double vz

The Z component of the normalized vector collinear to the line

System.Double x1

Z-coordinate of some point on the line

System.Double y1

Z-coordinate of some point on the line

System.Double z1

Z-coordinate of some point on the line

| Improve this Doc View Source

Line3D(Single[])

Initializes by cvFitLine output

Declaration
public Line3D(float[] line)
Parameters
Type Name Description
System.Single[] line

The returned value from cvFitLine

Properties

| Improve this Doc View Source

Vx

The X component of the normalized vector collinear to the line

Declaration
public double Vx { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

Vy

The Y component of the normalized vector collinear to the line

Declaration
public double Vy { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

Vz

The Z component of the normalized vector collinear to the line

Declaration
public double Vz { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

X1

X-coordinate of some point on the line

Declaration
public double X1 { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

Y1

Y-coordinate of some point on the line

Declaration
public double Y1 { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

Z1

Z-coordinate of some point on the line

Declaration
public double Z1 { get; }
Property Value
Type Description
System.Double

Methods

| Improve this Doc View Source

Distance(Point3d)

Returns the distance between this line and the specified point

Declaration
public double Distance(Point3d point)
Parameters
Type Name Description
OpenCvSharp.Point3d point
Returns
Type Description
System.Double
| Improve this Doc View Source

Distance(Point3f)

Returns the distance between this line and the specified point

Declaration
public double Distance(Point3f point)
Parameters
Type Name Description
OpenCvSharp.Point3f point
Returns
Type Description
System.Double
| Improve this Doc View Source

Distance(Double, Double, Double)

Returns the distance between this line and the specified point

Declaration
public double Distance(double x, double y, double z)
Parameters
Type Name Description
System.Double x
System.Double y
System.Double z
Returns
Type Description
System.Double
| Improve this Doc View Source

PerpendicularFoot(Point3d)

Perpendicular foot

Declaration
public Point3d PerpendicularFoot(Point3d point)
Parameters
Type Name Description
OpenCvSharp.Point3d point
Returns
Type Description
OpenCvSharp.Point3d
| Improve this Doc View Source

PerpendicularFoot(Point3f)

Perpendicular foot

Declaration
public Point3d PerpendicularFoot(Point3f point)
Parameters
Type Name Description
OpenCvSharp.Point3f point
Returns
Type Description
OpenCvSharp.Point3d
| Improve this Doc View Source

PerpendicularFoot(Double, Double, Double)

Perpendicular foot

Declaration
public Point3d PerpendicularFoot(double x, double y, double z)
Parameters
Type Name Description
System.Double x
System.Double y
System.Double z
Returns
Type Description
OpenCvSharp.Point3d
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX