/*
 * JScience - Java(TM) Tools and Libraries for the Advancement of Sciences.
 * Copyright (C) 2006 - JScience (http://jscience.org/)
 * All rights reserved.
 * 
 * Permission to use, copy, modify, and distribute this software is
 * freely granted, provided that this notice is preserved.
 */
package org.jscience.geography.coordinates.crs;

import org.jscience.geography.coordinates.Coordinates;

/**
 * This interface represents a converter between {@link 
 * org.jscience.geography.coordinates.Coordinates coordinates}.
 * 
 * @author Jean-Marie Dautelle
 * @version 3.0, February 13, 2006
 */
public interface CoordinatesConverter, T extends Coordinates> {

    /**
     * Converts the specified coordinates.
     * 
     * @param source the source coordinates.
     * @return the corresponding target coordinates.
     * @throws ConversionException if this conversion cannot be performed.
     */
    T convert(S source);

}

 

Ads help maintain this website.