Method TransformBy
- Namespace
- GeometryHelper.Meshing
- Assembly
- GeometryHelper.dll
TransformBy(GeoTransform3)
Transforms the mesh.
public GeoMesh3 TransformBy(GeoTransform3 transform)
Parameters
transformGeoTransform3The transformation; it must not flatten the plane of the mesh into a line.
Returns
- GeoMesh3
The mesh transformed, its faces still counter-clockwise about its normal: a transformation that mirrors turns the normal round, as it turns that of a polygon. The faces are laid out again in the frame transformed, so that a scaling stretches them there too.
Exceptions
- ArgumentNullException
Thrown when the transformation is null.
- ArgumentException
Thrown when the transformation flattens the plane of the mesh into a line.