Method GetPointAtAngle
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
GetPointAtAngle(GeoEllipse2, double)
Gets the point of the rim of an ellipse at an eccentric angle.
public static GeoPoint2 GetPointAtAngle(GeoEllipse2 ellipse, double angleRad)
Parameters
ellipseGeoEllipse2The ellipse.
angleRaddoubleThe eccentric angle t in radians, counter-clockwise from the end of the major axis; not the direction seen from the centre. On an ellipse 300 by 100 centred on the origin along X, t = 45° is the point (212.1, 70.7), which lies 18.4° from the axis seen from the centre.
Returns
- GeoPoint2
The point Center + a cos t MajorAxis + b sin t MinorAxis.