MeshTransformation¶
-
class
dolfin.cpp.mesh.
MeshTransformation
¶ Bases:
object
This class implements various transformations of the coordinates of a mesh.
-
static
rescale
()¶ Rescale mesh by a given scaling factor with respect to a center point.
Parameters: - & mesh (Mesh) – (
Mesh
) The mesh - double scale (const) – (double) The scaling factor.
- Point & center (const) – (
Point
) The center of the scaling.
Return type: void
- & mesh (Mesh) – (
-
static
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
- & mesh (Mesh) – (
-
static
scale
()¶ Scale mesh coordinates with given factor. Arguments mesh (
Mesh
) The mesh factor (double) The factor defining the scaling.Parameters: - & mesh (Mesh) –
- factor (double) –
Return type: void
-
thisown
¶ The membership flag
-
static