类 MercatorProjection

  • 所有已实现的接口:
    java.lang.Cloneable

    public class MercatorProjection
    extends CylindricalProjection
    • 构造器详细资料

      • MercatorProjection

        public MercatorProjection()
    • 方法详细资料

      • project

        public ProjCoordinate project​(double lam,
                                      double phi,
                                      ProjCoordinate out)
        从类复制的说明: Projection
        Computes the projection of a given point (i.e. from geographics to projection space). This should be overridden for all projections.
        覆盖:
        project 在类中 Projection
        参数:
        lam - the geographic x ordinate (in radians)
        phi - the geographic y ordinatee (in radians)
        out - the projected coordinate (in coordinate system units)
        返回:
        the target coordinate
      • projectInverse

        public ProjCoordinate projectInverse​(double x,
                                             double y,
                                             ProjCoordinate out)
        从类复制的说明: Projection
        Computes the inverse projection of a given point (i.e. from projection space to geographics). This should be overridden for all projections.
        覆盖:
        projectInverse 在类中 Projection
        参数:
        x - the projected x ordinate (in coordinate system units)
        y - the projected y ordinate (in coordinate system units)
        out - the inverse-projected geographic coordinate (in radians)
        返回:
        the target coordinate
      • isRectilinear

        public boolean isRectilinear()
        从类复制的说明: Projection
        Tests whether under this projection lines of latitude and longitude form a rectangular grid
        覆盖:
        isRectilinear 在类中 CylindricalProjection
      • getEPSGCode

        public int getEPSGCode()
        Returns the ESPG code for this projection, or 0 if unknown.
        覆盖:
        getEPSGCode 在类中 Projection