Interface ICrsTransform
Transforms coordinates from one CRS to another.
public interface ICrsTransform
Remarks
Implementations must be safe to call from several threads at once: coverage sources such as the route checks' S-102 and S-104 grids share one transform between concurrent checks.
Properties
IsIdentity
True if source and target CRS are the same (no-op transform).
bool IsIdentity { get; }
Property Value
Methods
Transform(double, double)
Transforms a coordinate pair from the source CRS to the target CRS.
(double X, double Y) Transform(double x, double y)
Parameters
xdoubleX coordinate in the source CRS: longitude in decimal degrees for a geographic CRS, easting for a projected one.
ydoubleY coordinate in the source CRS: latitude in decimal degrees for a geographic CRS, northing for a projected one.