Method RotateBy
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
RotateBy(GeoEllipse2, double, GeoPoint2)
Turns an ellipse about a point, keeping its radii exactly; the zero of its eccentric angle turns with it.
public static GeoEllipse2 RotateBy(GeoEllipse2 ellipse, double angleRad, GeoPoint2 center)
Parameters
ellipseGeoEllipse2The ellipse.
angleRaddoubleThe angle in radians, counter-clockwise.
centerGeoPoint2The point to turn about.