Table of Contents

Method TransformBy

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TransformBy(GeoTransform2)

Gets the chain under a transformation.

public GeoPolylineArc2 TransformBy(GeoTransform2 transform)

Parameters

transform GeoTransform2

The transformation to apply.

Returns

GeoPolylineArc2

The transformed chain.

Remarks

Mirroring turns every arc the other way, so the bulges change sign; the chain still starts where its start point went. A transformation that skews the axes or scales them differently makes an arc part of an ellipse, and is refused where an edge would land further than the global point tolerance off it, as TransformBy(GeoTransform2) reads it.

Exceptions

ArgumentNullException

Thrown when the transformation is null.

InvalidOperationException

Thrown when the transformation would skew or stretch an arc into part of an ellipse it would land visibly off.

ArgumentException

Thrown when the transformation has an entry that is not a finite number.