Esempio n. 1
0
 /// <summary>
 /// Returns the inverse of this projection.
 /// </summary>
 /// <returns>IMathTransform that is the reverse of the current projection.</returns>
 public override IMathTransform Inverse()
 {
     if (_inverse == null)
     {
         _inverse = new PolyconicProjection(_Parameters.ToProjectionParameter(), this);
     }
     return(_inverse);
 }
Esempio n. 2
0
 /// <summary>
 /// Constructs a new map projection from the supplied parameters.
 /// </summary>
 /// <param name="parameters">The parameter values in standard units</param>
 /// <param name="inverse">Defines if Projection is inverse</param>
 protected PolyconicProjection(IEnumerable <ProjectionParameter> parameters, PolyconicProjection inverse)
     : base(parameters, inverse)
 {
     _ml0 = mlfn(lat_origin, Math.Sin(lat_origin), Math.Cos(lat_origin));
 }