Table of Contents

Method TransformBy

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TransformBy(GeoTransform3)

Applies a transformation to the edge.

public GeoEdge3 TransformBy(GeoTransform3 transform)

Parameters

transform GeoTransform3

The transformation.

Returns

GeoEdge3

The edge in its new place.

Remarks

The normal is carried by the transformation as well, so an edge turned about any axis keeps bulging the way it did. A transformation that mirrors turns the plane over, which is why the normal is taken from where the ends and the middle of the arc land rather than rotated on its own. One that skews or stretches the arc's plane, which makes part of an ellipse of it, gives the arc through where its two ends and its middle land, where it lands within the global point tolerance of where the transformation puts the rest of the edge, and is refused otherwise, as the arc is: the edge of bulge 0.5 from the origin to (10, 0, 0) stretched to twice along a diagonal of its plane is refused, where it was moved to an arc that stands for no part of the ellipse it becomes, and stretched by a millionth it moves, 8.3E-7 off. The middle is worked out across the chord, so an edge 0.01 long bowing a thousandth of its chord off it moves as surely as a half circle.

Exceptions

ArgumentNullException

Thrown when the transformation is null.

InvalidOperationException

Thrown when the transformation would skew or stretch an arc into part of an ellipse that the arc through where its ends and its middle land would stand further than the global point tolerance off, as the arc is refused (TransformBy(GeoTransform3)).

ArgumentException

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