LineUtils.ComputeOffset method
Version 1.0.0-beta002
.NET Framework 4.7
Namespace | Skybrud.Essentials.Maps |
---|---|
Assembly | Skybrud.Essentials.Maps.dll |
ComputeOffset(IPoint, double, double)
Static
Returns the IPoint resulting from moving a distance from an origin in the specified heading (expressed in degrees clockwise from north).
The calculations are based on EquatorialRadius as the radius.
public static IPoint ComputeOffset(IPoint origin, double distance, double heading)
ComputeOffset(IPoint, double, double, double)
Static
Returns the IPoint resulting from moving a distance from an origin in the specified heading (expressed in degrees clockwise from north).
public static IPoint ComputeOffset(IPoint origin, double distance, double heading, double radius)