Example #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);
 }
Example #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);
 }
Example #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));
 }
 /// <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));
 }
 /// <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;
 }