Table of Contents

Method TransformBy

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TransformBy(GeoTransform2)

Gets the loop under a transformation.

public GeoPolygonArc2 TransformBy(GeoTransform2 transform)

Parameters

transform GeoTransform2

The transformation to apply.

Returns

GeoPolygonArc2

The transformed loop.

Remarks

Mirroring turns every arc the other way, so the bulges change sign, and the mirrored vertices trace the opposite winding, so a loop that ran counter-clockwise comes back clockwise. A transformation that scales the axes differently would make an arc part of an ellipse, and is refused.

Exceptions

ArgumentNullException

Thrown when the transformation is null.

InvalidOperationException

Thrown when the transformation would stretch an arc into part of an ellipse.