⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 point.java

📁 GEo 地理操作源代码
💻 JAVA
字号:
/*$************************************************************************************************ ** ** $Id: Point.java,v 1.8 2004/05/13 12:52:33 desruisseaux Exp $ ** ** $Source: /cvsroot/geoapi/src/org/opengis/spatialschema/geometry/primitive/Point.java,v $ ** ** Copyright (C) 2003 Open GIS Consortium, Inc. All Rights Reserved. http://www.opengis.org/Legal/ ** *************************************************************************************************/package org.opengis.spatialschema.geometry.primitive;// OpenGIS direct dependenciesimport org.opengis.spatialschema.geometry.DirectPosition;import org.opengis.spatialschema.geometry.geometry.Position;/** * Basic data type for a geometric object consisting of one and only one point. * In most cases, the state of a <code>Point</code> is fully determined by its * position attribute. The only exception to this is if the <code>Point</code> * has been subclassed to provide additional non-geometric information such as * symbology. * * @UML type GM_Point * @author ISO/DIS 19107 * @author <A HREF="http://www.opengis.org">OpenGIS&reg; consortium</A> * @version 2.0 * * @see PrimitiveFactory#createPoint * * @revisit Some associations are commented out for now. */public interface Point extends Primitive {    /**     * Returns the direct position of this point. <code>Point</code> is the only subclass     * of {@linkplain Primitive primitive} that cannot use {@linkplain Position positions}     * to represent its defining geometry. A {@linkplain Position position} is either a     * {@linkplain DirectPosition direct position} or a reference to a <code>Point</code>     * (from which a {@linkplain DirectPosition direct position} may be obtained). By not     * allowing <code>Point</code> to use this technique, infinitely recursive references     * are prevented.     *     * @return The direct position.     * @UML mandatory position     */    public DirectPosition getPosition();    /**     * Returns always <code>null</code>, since point has no boundary.     *     * @return Always <code>null</code>.     * @UML operation boundary     *///  public PrimitiveBoundary getBoundary();    /**     * Returns the bearing, as a unit vector, of the tangent (at this <code>Point</code>) to     * the curve between this <code>Point</code> and a passed {@linkplain Position position}.     * The choice of the curve type for defining the bearing is dependent on the      * {@linkplain org.opengis.referencing.crs.CoordinateReferenceSystem coordinate reference system}     * in which this <code>Point</code> is defined.     * For example, in the Mercator projection, the curve is the rhumb line.     * In 3D, geocentric coordinate system, the curve may be the geodesic joining the two     * points along the surface of the geoid or ellipsoid in use. Implementations that support     * this function shall specify the nature of the curve to be used.     *     * @param toPoint the destination point.     * @return The tangent to the curve between this point and the passed position.     * @UML operation bearing     */    public Bearing getBearing(Position toPoint);//    public org.opengis.spatialschema.geometry.complex.GM_CompositePoint composite[];}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -