Cuboid3D
Canonical path: NemAll_Python_Geometry.Cuboid3D
3D cuboid
GetBottomFacePolygon
GetBottomFacePolygon() -> Polygon3D
Get the boundary polygon of bottom face of the cuboid
Returns:
-
Polygon3D
–Bottom face boundary polygon
GetGroundPlane
GetGroundPlane() -> Plane3D
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 ).
SetLength
Set length.
Parameters:
-
length
(float
) –New size of X-vector ( vector1 ).
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 ).
__eq__
__eq__(cuboid: Cuboid3D) -> object
Comparison of cuboids without tolerance.
Be careful, this method work without tolerance!
Parameters:
-
cuboid
(Cuboid3D
) –Compared cuboid.
Returns:
-
object
–True when cuboids are equal, otherwise false.
Placeholder