Indexing Enums¶
Points¶
Vectors¶
Rotations¶
Poses¶
- class py123d.geometry.PoseSE2Index[source]¶
Indexing enum for array-like representations of SE2 poses (x,y,yaw).
- X = 0¶
- Y = 1¶
- YAW = 2¶
- XY = slice(<PoseSE2Index.X: 0>, 2, None)¶
- SE2 = slice(<PoseSE2Index.X: 0>, 3, None)¶
- class py123d.geometry.PoseSE3Index[source]¶
Indexing enum for array-like representations of SE3 poses (x,y,z,qw,qx,qy,qz).
- X = 0¶
- Y = 1¶
- Z = 2¶
- QW = 3¶
- QX = 4¶
- QY = 5¶
- QZ = 6¶
- XY = slice(<PoseSE3Index.X: 0>, 2, None)¶
- XYZ = slice(<PoseSE3Index.X: 0>, 3, None)¶
- QUATERNION = slice(<PoseSE3Index.QW: 3>, 7, None)¶
- SCALAR = slice(<PoseSE3Index.QW: 3>, 4, None)¶
- VECTOR = slice(<PoseSE3Index.QX: 4>, 7, None)¶
Bounding Boxes¶
- class py123d.geometry.BoundingBoxSE2Index[source]¶
Indexing enum for array-like representations of bounding boxes in SE2 - center point (x,y). - yaw rotation. - extent (length,width).
- X = 0¶
- Y = 1¶
- YAW = 2¶
- LENGTH = 3¶
- WIDTH = 4¶
- XY = slice(<BoundingBoxSE2Index.X: 0>, 2, None)¶
- SE2 = slice(<BoundingBoxSE2Index.X: 0>, 3, None)¶
- EXTENT = slice(<BoundingBoxSE2Index.LENGTH: 3>, 5, None)¶
- class py123d.geometry.Corners2DIndex[source]¶
Indexes the corners of a bounding boxes in SE2 in the order: front-left, front-right, back-right, back-left.
- FRONT_LEFT = 0¶
- FRONT_RIGHT = 1¶
- BACK_RIGHT = 2¶
- BACK_LEFT = 3¶
- class py123d.geometry.BoundingBoxSE3Index[source]¶
Indexes array-like representations of rotated 3D bounding boxes - center point (x,y,z). - quaternion rotation (qw,qx,qy,qz). - extent (length,width,height).
- X = 0¶
- Y = 1¶
- Z = 2¶
- QW = 3¶
- QX = 4¶
- QY = 5¶
- QZ = 6¶
- LENGTH = 7¶
- WIDTH = 8¶
- HEIGHT = 9¶
- XYZ = slice(<BoundingBoxSE3Index.X: 0>, 3, None)¶
- SE3 = slice(<BoundingBoxSE3Index.X: 0>, 7, None)¶
- QUATERNION = slice(<BoundingBoxSE3Index.QW: 3>, 7, None)¶
- EXTENT = slice(<BoundingBoxSE3Index.LENGTH: 7>, 10, None)¶
- SCALAR = slice(<BoundingBoxSE3Index.QW: 3>, 4, None)¶
- VECTOR = slice(<BoundingBoxSE3Index.QX: 4>, 7, None)¶
- class py123d.geometry.Corners3DIndex[source]¶
Indexes the corners of a BoundingBoxSE3 in the order: front-left-bottom, front-right-bottom, back-right-bottom, back-left-bottom, front-left-top, front-right-top, back-right-top, back-left-top.
- FRONT_LEFT_BOTTOM = 0¶
- FRONT_RIGHT_BOTTOM = 1¶
- BACK_RIGHT_BOTTOM = 2¶
- BACK_LEFT_BOTTOM = 3¶
- FRONT_LEFT_TOP = 4¶
- FRONT_RIGHT_TOP = 5¶
- BACK_RIGHT_TOP = 6¶
- BACK_LEFT_TOP = 7¶
- BOTTOM = slice(<Corners3DIndex.FRONT_LEFT_BOTTOM: 0>, 4, None)¶
- TOP = slice(<Corners3DIndex.FRONT_LEFT_TOP: 4>, 8, None)¶