Class AlbersEqualArea

    • Constructor Detail

      • AlbersEqualArea

        public AlbersEqualArea​(OperationMethod method,
                               Parameters parameters)
        Creates an Albers Equal Area projection from the given parameters.
        Parameters:
        method - description of the projection parameters.
        parameters - the parameter values of the projection to create.
    • Method Detail

      • inverseTransform

        protected void inverseTransform​(double[] srcPts,
                                        int srcOff,
                                        double[] dstPts,
                                        int dstOff)
                                 throws ProjectionException
        Converts the specified (x,y) coordinates and stores the (θ,φ) result in dst­Pts.
        Specified by:
        inverse­Transform in class Normalized­Projection
        Parameters:
        src­Pts - the array containing the source point coordinate, as linear distance on a unit sphere or ellipse.
        src­Off - the offset of the point to be converted in the source array.
        dst­Pts - the array into which the converted point coordinate is returned (may be the same than src­Pts). Coordinates will be (longitude, latitude) angles in radians.
        dst­Off - the offset of the location of the converted point that is stored in the destination array.
        Throws:
        Projection­Exception - if the point can not be converted.