E3DPlane::Define

(re)Defines the plane parameters:
It is possible to use the normal and the signed distance of the plane.
In that case, it exits with an exception if the normal vector is the null vector.
It is also possible to use 3 points of the plane.
In that case, it exits with an exception if the 3 points are aligned.

Namespace: Euresys::Open_eVision::Easy3D

[C++]

void Define(
   const E3DPoint& normal,
   float signedDistance
)

void Define(
   const E3DPoint& point1,
   const E3DPoint& point2,
   const E3DPoint& point3
)

Parameters

normal

The normal vector, represented by an E3DPoint.

signedDistance

The signed distance between the origin and the plane.

point1

First point.

point2

Second point.

point3

Third point.

Remarks

When we define a plane by specifying 3 points, the normal vector always points toward the positive Z.

E3DPlane.Define

(re)Defines the plane parameters:
It is possible to use the normal and the signed distance of the plane.
In that case, it exits with an exception if the normal vector is the null vector.
It is also possible to use 3 points of the plane.
In that case, it exits with an exception if the 3 points are aligned.

Namespace: Euresys.Open_eVision.Easy3D

[C#]

void Define(
   Euresys.Open_eVision.Easy3D.E3DPoint normal,
   float signedDistance
)

void Define(
   Euresys.Open_eVision.Easy3D.E3DPoint point1,
   Euresys.Open_eVision.Easy3D.E3DPoint point2,
   Euresys.Open_eVision.Easy3D.E3DPoint point3
)

Parameters

normal

The normal vector, represented by an E3DPoint.

signedDistance

The signed distance between the origin and the plane.

point1

First point.

point2

Second point.

point3

Third point.

Remarks

When we define a plane by specifying 3 points, the normal vector always points toward the positive Z.