|
| | E3DPlane () |
| | Creates an E3DPlane object.
|
| | E3DPlane (eVision.Easy3D.E3DPoint normal, float signedDistance) |
| | Creates an E3DPlane object.
|
| | E3DPlane (eVision.Easy3D.E3DPoint point1, eVision.Easy3D.E3DPoint point2, eVision.Easy3D.E3DPoint point3) |
| | Creates an E3DPlane object.
|
| | E3DPlane (eVision.Easy3D.E3DPlane other) |
| | Creates an E3DPlane object.
|
| void | Define (eVision.Easy3D.E3DPoint normal, float signedDistance) |
| | (re)Defines the plane parameters:
|
| void | Define (eVision.Easy3D.E3DPoint point1, eVision.Easy3D.E3DPoint point2, eVision.Easy3D.E3DPoint point3) |
| | (re)Defines the plane parameters:
|
| float | DistanceTo (eVision.Easy3D.E3DPoint point) |
| | Returns the signed distance between the plane and a given point.
|
| eVision.Easy3D.E3DPoint | ProjectPoint (eVision.Easy3D.E3DPoint point) |
| | Returns the position of the given point projected on the plane.
|
| eVision.Easy3D.E3DPlane | Transform (eVision.Easy3D.E3DTransformMatrix matrix) |
| | Transforms the 3D plane with the given transformation matrix. The transformation matrix must contain a rigid transformation (translation and rotation only).
|
| void | Load (string path) |
| | Loads a E3DPlane. The given ESerializer must have been created for reading.
|
| void | Load (eVision.ESerializer serializer) |
| | Loads a E3DPlane. The given ESerializer must have been created for reading.
|
| void | Save (string path) |
| | Saves a E3DPlane. The given ESerializer must have been created for writing.
|
| void | Save (eVision.ESerializer serializer) |
| | Saves a E3DPlane. The given ESerializer must have been created for writing.
|
| void | FlipIfNegativeZ () |
| | Flips the orientation of the ZMap (normal = -normal) if the normal has a negative Z coordinate.
|
| void | OrientNormal (eVision.Easy3D.E3DPlaneNormalOrientation orientation) |
| | Orients the normal of the ZMap on one of the axes, see E3DPlaneNormalOrientation.
|
| float | AngleWithPlane (eVision.Easy3D.E3DPlane other) |
| | Returns the angle (in the first quadrant) between the normals of this plane and the one passed in argument.
|
| bool | IntersectionWithTwoPlanes (eVision.Easy3D.E3DPlane plane1, eVision.Easy3D.E3DPlane plane2, out eVision.Easy3D.E3DPoint intersection) |
| | Compute the intersection between this plane and the two given as argument. If the intersection exists, true is returned and intersection is filled with the intersection.
|
| eVision.Easy3D.E3DTransformMatrix | GetTransformationTo (eVision.Easy3D.E3DPlane destination) |
| | Return the transformation that moves the plane to the given destination plane.
|
Represents a 3D plane.
The equation of the plane is "n_vect . (x,y,z) = signedDistance" where "n_vect" is the normal vector and "signedDistance" is the signed distance from the origin to the plane.
The signed distance is positive when the vector binding the origin to the closest point on the plane has the same direction as "n_vect" and is negative when this vector has the opposite direction as "n_vect".
License(s): Easy3D
| eVision.Easy3D.E3DPlane.E3DPlane |
( |
| ) |
|
Creates an E3DPlane object.
It is possible to initialize it by specifying its normal and signed distance from the origin. In that case, it exits with an exception if the norm of the normal is null. It is also possible to initialize it by specifying 3 points of the plane. In that case, it exits with an exception if the 3 points are aligned.
When we define a plane by specifying 3 points, the normal vector is always oriented towards the positive Z axis, see E3DPlaneNormalOrientation.E3DPlaneNormalOrientation_PosZ.
Creates an E3DPlane object.
It is possible to initialize it by specifying its normal and signed distance from the origin. In that case, it exits with an exception if the norm of the normal is null. It is also possible to initialize it by specifying 3 points of the plane. In that case, it exits with an exception if the 3 points are aligned.
- Parameters
-
| normal | The normal vector. May not be null. |
| signedDistance | The signed distance from the origin to the plane. |
When we define a plane by specifying 3 points, the normal vector is always oriented towards the positive Z axis, see E3DPlaneNormalOrientation.E3DPlaneNormalOrientation_PosZ.
Creates an E3DPlane object.
It is possible to initialize it by specifying its normal and signed distance from the origin. In that case, it exits with an exception if the norm of the normal is null. It is also possible to initialize it by specifying 3 points of the plane. In that case, it exits with an exception if the 3 points are aligned.
- Parameters
-
| point1 | First point |
| point2 | Second point |
| point3 | Third point |
When we define a plane by specifying 3 points, the normal vector is always oriented towards the positive Z axis, see E3DPlaneNormalOrientation.E3DPlaneNormalOrientation_PosZ.
Creates an E3DPlane object.
It is possible to initialize it by specifying its normal and signed distance from the origin. In that case, it exits with an exception if the norm of the normal is null. It is also possible to initialize it by specifying 3 points of the plane. In that case, it exits with an exception if the 3 points are aligned.
- Parameters
-
| other | Reference to the plane used for the initialization. |
When we define a plane by specifying 3 points, the normal vector is always oriented towards the positive Z axis, see E3DPlaneNormalOrientation.E3DPlaneNormalOrientation_PosZ.
Returns the angle (in the first quadrant) between the normals of this plane and the one passed in argument.
- Parameters
-
| other | The plane with respect to which we compute our angle |
This function does not take the orientation of the normals into account, i.e. (0, 0, 1) and (0, 0, -1) will give the same angle
(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.
- Parameters
-
| normal | The normal vector, represented by an E3DPoint. |
| signedDistance | The signed distance between the origin and the plane. |
When we define a plane by specifying 3 points, the normal vector always points toward the positive Z.
(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.
- Parameters
-
| point1 | First point. |
| point2 | Second point. |
| point3 | Third point. |
When we define a plane by specifying 3 points, the normal vector always points toward the positive Z.