public AdjustedWaypoint(PointD location, ParameterizedLocation parameterizedLocation, AdjustedWaypointType type) { Location = location; ParameterizedLocation = parameterizedLocation; Type = type; }
/// <summary> /// Converts a map image pixel coordinate to a longitude and latitude coordinate /// </summary> /// <param name="mapImagePosition">Map pixel coordinate, referring to unzoomed map without any borders and image header</param> /// <returns></returns> public LongLat GetLongLatForMapImagePosition(PointD mapImagePosition, GeneralMatrix averageTransformationMatrixInverse) { var projectedPosition = LinearAlgebraUtil.Transform(mapImagePosition, averageTransformationMatrixInverse); return(LongLat.Deproject(projectedPosition, ProjectionOrigin)); }
public AdjustedWaypoint(PointD location, ParameterizedLocation parameterizedLocation) { Location = location; ParameterizedLocation = parameterizedLocation; }