Plane3D
Canonical path: NemAll_Python_Geometry.Plane3D
Representation class for 3D plane.
CalcPlaneVectors
Calc X and Y axis vectors for plane
Returns:
Examples:
plane_1
has a normal vector of (1, 0, 1) and a point (0, 0, 0). Calculate the vectors of the plane's
coordinate system, like:
GetTransformationMatrix
GetTransformationMatrix() -> Matrix3D
Get transformation matrix for given plane 3D
Returns:
-
Matrix3D
–Transformation matrix
Examples:
plane_1
has a normal vector of (1, 0, 1) and a point (0, 0, 0). Calculate the transformation matrix
of the plane, like:
Set
__eq__
__eq__(plane: Plane3D) -> bool
Comparison of planes.
Be careful, this method work without tolerance!
Parameters:
-
plane
(Plane3D
) –plane to be compared.
Returns:
-
bool
–True when planes are equal, otherwise false.
__init__
overloaded
Initialize
__init__(plane: Plane3D)
Constructor
Create 3D Plane from three points which lies on this plane. If plane can not be computed, then constructor throw geometry exception 'Incorrect parameters'.
Parameters:
__init__(axis: Axis3D)