Plane3D
Class full path: NemAll_Python_Geometry.Plane3D
Representation class for 3D plane.
Attributes
Point: Point3D
property
writable
Get 3D Plane reference point
Vector: Vector3D
property
writable
Get the Normal Vector
Functions
CalcPlaneVectors()
GetPoint()
GetTransformationMatrix()
Get transformation matrix for given plane 3D
Returns:
Type | Description |
---|---|
Matrix3D
|
Transformation matrix |
GetVector()
Set(point, normalVector)
SetPoint(point)
SetVector(vec)
__eq__(plane)
Comparison of planes without tolerance.
Be careful, this method work without tolerance!
Parameters:
Name | Type | Description | Default |
---|---|---|---|
plane
|
Plane3D
|
Compared plane. |
required |
Returns:
Type | Description |
---|---|
object
|
True when planes are equal, otherwise false. |
__init__
overload
__init__()
initialize
__init__(plane)
Copy constructor
Parameters:
Name | Type | Description | Default |
---|---|---|---|
plane
|
Plane3D
|
Plane which will be copied. |
required |
__init__(point, normalVector)
__init__(point1, point2, point3)
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:
Name | Type | Description | Default |
---|---|---|---|
point1
|
Point3D
|
1st point on the plane. |
required |
point2
|
Point3D
|
2nd point on the plane. |
required |
point3
|
Point3D
|
3rd point on the plane. |
required |
__init__(axis)
__mul__
overload
__mul__(matrix)
__repr__()
Convert to string