/** * Creates an instance of the map transform for the given parameter values. */ public MapTransform createTransform(double[] parameterValues) { if (parameterValues == null) { parameterValues = getParameterDefaultValues(); } return new AEAC(parameterValues); }
/** * This method is called within the <code>{@link MapProjectionRegistry#registerDescriptor}</code> method after an * instance of this <code>MapTransformDescriptor</code> has been successfully registered. The method can and should * be used to register projections that are based on the type of <code>{@link MapTransform}</code> described by this * <code>MapTransformDescriptor</code>. Registering projection instances is done using the using the <code>{@link * MapProjectionRegistry#registerProjection}</code> method. * <p/> * <p/> * A typical implementation of this method would be: * <pre> * public void registerProjections() { * MapProjectionRegistry.registerProjection(new MapProjection("my-projection-name-1", new * MyMapTransform(param_1))); * MapProjectionRegistry.registerProjection(new MapProjection("my-projection-name-2", new * MyMapTransform(param_2))); * MapProjectionRegistry.registerProjection(new MapProjection("my-projection-name-3", new * MyMapTransform(param_3))); * ... * } * </pre> */ public void registerProjections() { MapProjectionRegistry.registerProjection( new MapProjection(getName(), createTransform(null), getMapUnit(), false)); }