Image Manager (CVCore3D.dll) 14.1
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:161
CVC3DPointD Normal
Normal vector of the plane.
Definition: iCVCore3D.h:162
double DistanceToOrigin
Distance to the origin (x = 0, y = 0, z = 0).
Definition: iCVCore3D.h:163
Cartesian 3D point (X, Y, Z) with double components.
Definition: iCVCore3D.h:118
double Y
Y component.
Definition: iCVCore3D.h:120
double X
X component.
Definition: iCVCore3D.h:119
double Z
Z component.
Definition: iCVCore3D.h:121