Method TransformBy
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TransformBy(GeoTransform2)
Applies a transformation to this arc.
public GeoArc2 TransformBy(GeoTransform2 transform)
Parameters
transformGeoTransform2The transformation to apply.
Returns
- GeoArc2
The transformed arc.
Remarks
An arc survives a transformation only when every direction is stretched by the same amount, just as a circle does. A transformation that turns shapes round, a mirror or a negative scaling, also reverses the way the arc sweeps.
Exceptions
- ArgumentNullException
Thrown when the transformation is null.
- InvalidOperationException
Thrown when the transformation would stretch the arc into part of an ellipse.