discretize.base.BaseMesh.reference_is_rotated

property BaseMesh.reference_is_rotated

Indicates whether mesh uses standard coordinate axes

The standard basis vectors defining the x, y, and z axes of a mesh are \((1,0,0)\), \((0,1,0)\) and \((0,0,1)\), respectively. However, the orientation property can be used to define rotated coordinate axes for our mesh.

The reference_is_rotated property determines whether the mesh is using standard coordinate axes. If the coordinate axes are standard, mesh.orientation is the identity matrix and reference_is_rotated returns a value of False. Otherwise, reference_is_rotated returns a value of True.

Returns
bool

False is the mesh uses the standard coordinate axes and True otherwise.