/** * Creates a map projection from the specified group of parameter values. * * @param factory the factory to use for creating and concatenating the (de)normalization transforms. * @param parameters the group of parameter values. * @return the map projection created from the given parameter values. * @throws ParameterNotFoundException if a required parameter was not found. * @throws FactoryException if the map projection can not be created. */ @Override public final MathTransform createMathTransform(final MathTransformFactory factory, final ParameterValueGroup parameters) throws ParameterNotFoundException, FactoryException { return createProjection(Parameters.castOrWrap(parameters)).createMapProjection(factory); }
/** * Creates a map projection from the specified group of parameter values. * * @param factory the factory to use for creating and concatenating the (de)normalization transforms. * @param parameters the group of parameter values. * @return the map projection created from the given parameter values. * @throws ParameterNotFoundException if a required parameter was not found. * @throws FactoryException if the map projection can not be created. */ @Override public final MathTransform createMathTransform(final MathTransformFactory factory, final ParameterValueGroup parameters) throws ParameterNotFoundException, FactoryException { return createProjection(Parameters.castOrWrap(parameters)).createMapProjection(factory); }