Ejemplo n.º 1
0
 /// <summary>
 /// Returns the inverse of this projection.
 /// </summary>
 /// <returns>IMathTransform that is the reverse of the current projection.</returns>
 public override MathTransform Inverse()
 {
     if (_inverse == null)
     {
         _inverse = new PolyconicProjection(_Parameters.ToProjectionParameter(), this);
     }
     return(_inverse);
 }
Ejemplo 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));
     _reciprocSemiMajorTimesScaleFactor = 1 / (_semiMajor * scale_factor);
 }
Ejemplo n.º 3
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));
 }
Ejemplo n.º 4
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));
 }
Ejemplo n.º 5
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;
 }
 /// <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, !_isInverse);
     return _inverse;
 }