Documentation of 'ext.plantuml.com.ctreber.acearth.projection.ProjectionMerc' Java class
ProjectionMerc
ext.plantuml.com.ctreber.acearth.projection

Class ProjectionMerc



  • public class ProjectionMerc
    extends Projection

    Mercator projection. Show Earth flatly spread out on rectangle.

    © 2002 Christian Treber, ct@ctreber.com

    • Constructor Detail

      • ProjectionMerc

        public ProjectionMerc()
    • Method Detail

      • isVisible

        public boolean isVisible(Point3D pPoint)

        All of Earth is visible.

        Specified by:
        isVisible in class Projection
        Parameters:
        pPoint -
        Returns:
      • getLocation

        public Coordinate getLocation(int pX,
                                      int pY)
        Description copied from class: Projection

        Translate screen point into coordinate on Earth.

        Specified by:
        getLocation in class Projection
        Returns:
      • projectX

        public double projectX(double pX,
                               double pZ)
        Description copied from class: Projection

        Project 3D point on x axis.

        Returns:
        Longitude (-PI to PI), linearly on x axis.
      • projectY

        public double projectY(double pY)
        Description copied from class: Projection

        Project 3D point on y axis.

        Specified by:
        projectY in class Projection
        Returns:
        Latitude (-PI/2 to PI/2), projected from center of Earth on y axis with a twist and a log scale.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.