Cuboid3D
Canonical path: NemAll_Python_Geometry.Cuboid3D
Representation class for 3D cuboid.
GetBottomFacePolygon
GetBottomFacePolygon() -> Polygon3D
Get the boundary polygon of bottom face of the cuboid
Returns:
-
Polygon3D
–Bottom face boundary polygon
GetGroundPlane
GetGroundPlane() -> Plane3D
GetHeightVector
GetHeightVector() -> Vector3D
GetLengthVector
GetLengthVector() -> Vector3D
GetRelStartPoint
GetRelStartPoint() -> Point3D
GetStartPoint
GetStartPoint() -> Point3D
GetTopFacePolygon
GetTopFacePolygon() -> Polygon3D
GetVector
GetVector(index: int) -> Vector3D
SetHeight
Set height.
Parameters:
-
height
(float
) –New size of Z-vector ( vector3 ).
SetHeightVector
SetHeightVector(vector: Vector3D)
SetLength
Set length.
Parameters:
-
length
(float
) –New size of X-vector ( vector1 ).
SetLengthVector
SetLengthVector(vector: Vector3D)
SetRefPoint
SetRefPoint(refPoint: Point3D)
SetStartPoint
SetStartPoint(startPoint: Point3D)
SetVector
SetVector(vec: Vector3D, index: int)
SetWidth
Set width.
Parameters:
-
width
(float
) –New size of Y-vector ( vector2 ).
SetWidthVector
SetWidthVector(vector: Vector3D)
__eq__
__eq__(cuboid: Cuboid3D) -> bool
Comparison of cuboid.
Be careful, this method work without tolerance!
Parameters:
-
cuboid
(Cuboid3D
) –cuboid to be compared.
Returns:
-
bool
–True when cuboid are equal, otherwise false.
Placeholder