Table of Contents

Method TransformBy

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TransformBy(GeoTransform2)

Applies a transformation to this ellipse. Every transformation that does not flatten the plane gives an ellipse, an uneven scaling and a shear among them; a mirror reverses the way the eccentric angle runs round the rim as seen in the old frame.

public GeoEllipse2 TransformBy(GeoTransform2 transform)

Parameters

transform GeoTransform2

The transformation to apply.

Returns

GeoEllipse2

The transformed ellipse.

Remarks

The zero of the eccentric angle goes to the end of the new major axis nearer where the old one went; when the result is a circle it goes where the old one went. See TransformBy(GeoEllipse2, GeoTransform2).

Exceptions

ArgumentNullException

Thrown when the transformation is null.

InvalidOperationException

Thrown when the transformation flattens the plane onto a line or a point.