MeshTransformation_rotate

dolfin.cpp.mesh.MeshTransformation_rotate()

Rotate mesh around a coordinate axis through a given point

Parameters:
  • & mesh (Mesh) – (Mesh ) The mesh.
  • angle (double) – (double) The number of degrees (0-360) of rotation.
  • axis (std::size_t) – (std::size_t) The coordinate axis around which to rotate the mesh.
  • Point & p (const) – (Point ) The point around which to rotate the mesh.
Return type:

void