Method TransformBy
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TransformBy(GeoTransform2)
Applies a transformation to this rectangle.
public GeoRectangle2 TransformBy(GeoTransform2 transform)
Parameters
transformGeoTransform2The transformation to apply.
Returns
- GeoRectangle2
The transformed rectangle.
Exceptions
- InvalidOperationException
Thrown when the transformation would turn the rectangle into a parallelogram.
- ArgumentNullException
Thrown when the transformation is null.