Exemplo n.º 1
0
 public AdjustedWaypoint(PointD location, ParameterizedLocation parameterizedLocation, AdjustedWaypointType type)
 {
     Location = location;
     ParameterizedLocation = parameterizedLocation;
     Type = type;
 }
Exemplo n.º 2
0
        /// <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));
        }
Exemplo n.º 3
0
 public AdjustedWaypoint(PointD location, ParameterizedLocation parameterizedLocation)
 {
     Location = location;
     ParameterizedLocation = parameterizedLocation;
 }