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

📄 bearing.java

📁 GEo 地理操作源代码
💻 JAVA
字号:
/*$************************************************************************************************ ** ** $Id: Bearing.java,v 1.2 2004/03/09 20:02:56 desruisseaux Exp $ ** ** $Source: /cvsroot/geoapi/src/org/opengis/spatialschema/geometry/primitive/Bearing.java,v $ ** ** Copyright (C) 2003 Open GIS Consortium, Inc. All Rights Reserved. http://www.opengis.org/Legal/ ** *************************************************************************************************/package org.opengis.spatialschema.geometry.primitive;/** * Represents direction in the coordinate reference system. In a 2D coordinate reference * system, this can be accomplished using a "angle measured from true north" or a 2D vector * point in that direction. In a 3D coordinate reference system, two angles or any 3D vector * is possible. If both a set of angles and a vector are given, then they shall be consistent * with one another. * * @UML datatype Bearing * @author ISO/DIS 19107 * @author <A HREF="http://www.opengis.org">OpenGIS&reg; consortium</A> * @version 2.0 * * @revisit Should we move this interface elsewhere (e.g. in some kind of units package)? */public interface Bearing {    /**     * Returns the azimuth and (optionnaly) the altitude.     * In this variant of bearing usually used for 2D coordinate systems, the first angle (azimuth)     * is measured from the first coordinate axis (usually north) in a counterclockwise fashion     * parallel to the reference surface tangent plane. If two angles are given, the second angle     * (altitude) usually represents the angle above (for positive angles) or below (for negative     * angles) a local plane parallel to the tangent plane of the reference surface.     *     * @return An array of length 0, 1 or 2 containing the azimuth and altitude angles.     * @UML operation angle     *     * @revisit Should we split this method in <code>getAzimuth()</code> and     *          <code>getAltitude()</code> methods instead? Should we provides     *          a <code>getDimension()</code> method too?     */    public double[] getAngles();    /**     * Returns the direction as a vector.     * In this variant of bearing usually used for 3D coordinate systems, the direction is     * express as an arbitrary vector, in the coordinate system.     *     * @return The direction.     * @UML operation direction     */    public double[] getDirection();}

⌨️ 快捷键说明

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