/** * Creates a Mollweide projection from the given parameters. * The {@code method} argument can be the description of one of the following: * * <ul> * <li><cite>"Mollweide"</cite>, also known as * <cite>"Homalographic"</cite> or <cite>"Homolographic"</cite>.</li> * </ul> * * @param method description of the projection parameters. * @param parameters the parameter values of the projection to create. */ public Mollweide(final OperationMethod method, final Parameters parameters) { super(initializer(method, parameters)); final MatrixSIS normalize = context.getMatrix(ContextualParameters.MatrixRole.NORMALIZATION); final MatrixSIS denormalize = context.getMatrix(ContextualParameters.MatrixRole.DENORMALIZATION); normalize .convertAfter (0, 2*SQRT_2, null); denormalize.convertBefore(0, 1/PI, null); denormalize.convertBefore(1, SQRT_2, null); }