/* * Geotools 2 - OpenSource mapping toolkit * (C) 2003, Geotools Project Managment Committee (PMC) * (C) 2001, Institut de Recherche pour le Développement * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package org.geotools.pt; /** * Interface for dimensioned object. * Objects implementing this interface may have an arbitrary number of dimensions. * It is generally not possible to determine their dimension only by their type. * For example a {@link CoordinatePoint} may very well be one-dimensional (e.g. * a height), two-dimensional (e.g. a geographic coordinate), three-dimensional, * etc. The actual number of dimension can be queried by {@link #getDimension}. * * @source $URL$ * @version $Id$ * @author Martin Desruisseaux * * @deprecated No replacement at this time. */ public interface Dimensioned { /** * Returns the number of dimensions. */ public abstract int getDimension(); }