The constants.py module#

Summary#

DEFAULT_POINT3D

Default value for a 3D point.

DEFAULT_POINT2D

Default value for a 2D point.

IDENTITY_MATRIX33

Identity for a Matrix33 object.

IDENTITY_MATRIX44

Identity for a Matrix44 object.

UNITVECTOR3D_X

Default 3D unit vector in the Cartesian traditional X direction.

UNITVECTOR3D_Y

Default 3D unit vector in the Cartesian traditional Y direction.

UNITVECTOR3D_Z

Default 3D unit vector in the Cartesian traditional Z direction.

UNITVECTOR2D_X

Default 2D unit vector in the Cartesian traditional X direction.

UNITVECTOR2D_Y

Default 2D unit vector in the Cartesian traditional Y direction.

ZERO_VECTOR3D

Zero-valued Vector3D object.

ZERO_VECTOR2D

Zero-valued Vector2D object.

ZERO_POINT3D

Zero-valued Point3D object.

ZERO_POINT2D

Zero-valued Point2D object.

Description#

Provides mathematical constants.

Module detail#

constants.DEFAULT_POINT3D#

Default value for a 3D point.

constants.DEFAULT_POINT2D#

Default value for a 2D point.

constants.IDENTITY_MATRIX33#

Identity for a Matrix33 object.

constants.IDENTITY_MATRIX44#

Identity for a Matrix44 object.

constants.UNITVECTOR3D_X#

Default 3D unit vector in the Cartesian traditional X direction.

constants.UNITVECTOR3D_Y#

Default 3D unit vector in the Cartesian traditional Y direction.

constants.UNITVECTOR3D_Z#

Default 3D unit vector in the Cartesian traditional Z direction.

constants.UNITVECTOR2D_X#

Default 2D unit vector in the Cartesian traditional X direction.

constants.UNITVECTOR2D_Y#

Default 2D unit vector in the Cartesian traditional Y direction.

constants.ZERO_VECTOR3D#

Zero-valued Vector3D object.

constants.ZERO_VECTOR2D#

Zero-valued Vector2D object.

constants.ZERO_POINT3D#

Zero-valued Point3D object.

constants.ZERO_POINT2D#

Zero-valued Point2D object.