rs3.Geometry module#
- class rs3.Geometry.Geometry#
Bases:
object
- class rs3.Geometry.Point(x: float, y: float, z: float)#
Bases:
Geometry- x: float#
- y: float#
- z: float#
- toCommonGeometryObject()#
- class rs3.Geometry.Polyline(points: list[rs3.Geometry.Point])#
Bases:
Geometry- toCommonGeometryObject()#
- class rs3.Geometry.Cube(corner1: Point, corner2: Point, rotationAboutX: float = 0, rotationAboutY: float = 0, rotationAboutZ: float = 0)#
Bases:
GeometryRepresents a 3D cube defined by two opposite corners and optional rotations.
The rotation angles (rotationAboutX, rotationAboutY, rotationAboutZ) are in degrees and follow the right-hand rule for positive direction. i.e., positive rotation is counterclockwise when looking along the axis toward the origin.
- rotationAboutX: float = 0#
- rotationAboutY: float = 0#
- rotationAboutZ: float = 0#
- toCommonGeometryObject()#
- class rs3.Geometry.Cylinder(axisStartPoint: rs3.Geometry.Point, axisEndPoint: rs3.Geometry.Point, radius: float)#
Bases:
Geometry- radius: float#
- toCommonGeometryObject()#