|
| Plane (double nx, double ny, double nz, double distanceToOrigin) |
| Creates a new Plane object from the given normal vector components and the distanceToOrigin .
|
|
| Plane (Point3Dd normal, double distanceToOrigin) |
| Creates a new Plane object.
|
|
double | DistanceToPoint (Point3Df pt) |
| Calculates the distance to the point pt .
|
|
double | DistanceToPoint (Point3Dd pt) |
| Calculates the distance to the point pt .
|
|
double | DistanceToPoint (double x, double y, double z) |
| Calculates the distance to the point given by its components.
|
|
AffineMatrix3D | AlignToXYPlane () |
| Calculates a rigid body transformation that maps the plane into the xy plane of the global coordinate system.
|
|
A plane in 3D space in Hessian normal form.
Calculates a rigid body transformation that maps the plane into the xy plane of the global coordinate system.
If a point cloud contains a tilted plane (e.g. representing a conveyer belt), which is not aligned to the xy plane, the following steps should be taken:
- Calulate a plane fit on the data using function FitPlane.
- Align the output plane to the xy plane with AlignToXYPlane.
Please note the following:
- The transformation includes only a rotation about x and y axis. The resulting transformation will not contain any rotation about the global Z-axis.
- The translation to the origin of the global coordinate system is done along z axis.
- Returns
- Calculated transformation to move the plane to xy plane.