Image Manager (CVCore3D.dll) 14.0
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules
CVC3DPlane Struct Reference

3D plane in Hessian normal form. More...

Data Fields

double DistanceToOrigin
 Distance to the origin (x = 0, y = 0, z = 0).
 
CVC3DPointD Normal
 Normal vector of the plane.
 

Detailed Description

3D plane in Hessian normal form.

A plane in 3D space.

Example
You can calculate the distance of a point to the plane like this (if the length of the Normal is 1):
double DistanceToPoint(const CVC3DPlane &plane, const CVC3DPointD &pt)
{
return plane.Normal.X * pt.X
+ plane.Normal.Y * pt.Y
+ plane.Normal.Z * pt.Z
}
3D plane in Hessian normal form.
Definition: iCVCore3D.h:143
CVC3DPointD Normal
Normal vector of the plane.
Definition: iCVCore3D.h:144
double DistanceToOrigin
Distance to the origin (x = 0, y = 0, z = 0).
Definition: iCVCore3D.h:145
Cartesian 3D point (X, Y, Z) with double components.
Definition: iCVCore3D.h:100
double Y
Y component.
Definition: iCVCore3D.h:102
double X
X component.
Definition: iCVCore3D.h:101
double Z
Z component.
Definition: iCVCore3D.h:103