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

📄 pixelincell.java

📁 GEo 地理操作源代码
💻 JAVA
字号:
/*$************************************************************************************************ ** ** $Id: PixelInCell.java,v 1.3 2004/05/07 10:29:28 desruisseaux Exp $ ** ** $Source: /cvsroot/geoapi/src/org/opengis/referencing/datum/PixelInCell.java,v $ ** ** Copyright (C) 2003 Open GIS Consortium, Inc. All Rights Reserved. http://www.opengis.org/Legal/ ** *************************************************************************************************/package org.opengis.referencing.datum;// J2SE directdependenciesimport java.util.List;import java.util.ArrayList;// OpenGIS direct dependenciesimport org.opengis.util.CodeList;/** * Specification of the way the image grid is associated with the image data attributes. * * @UML codelist CD_PixelInCell * @author ISO 19111 * @author <A HREF="http://www.opengis.org">OpenGIS&reg; consortium</A> * @version <A HREF="http://www.opengis.org/docs/03-073r1.zip">Abstract specification 2.0</A> */public final class PixelInCell extends CodeList {    /**     * Serial number for compatibility with different versions.     */    private static final long serialVersionUID = 2857889370030758462L;    /**     * List of all enumerations of this type.     * Must be declared before any enum declaration.     */    private static final List VALUES = new ArrayList(2);    /**     * The origin of the image coordinate system is the centre of a grid cell or image pixel.     *     * @UML conditional cell&nbsp;center     */    public static final PixelInCell CELL_CENTER = new PixelInCell("CELL_CENTER");    /**     * The origin of the image coordinate system is the corner of a grid cell, or half-way     * between the centres of adjacent image pixels.     *     * @UML conditional cell&nbsp;corner     */    public static final PixelInCell CELL_CORNER = new PixelInCell("CELL_CORNER");    /**     * Constructs an enum with the given name. The new enum is     * automatically added to the list returned by {@link #values}.     *     * @param name The enum name. This name must not be in use by an other enum of this type.     */    public PixelInCell(final String name) {        super(name, VALUES);    }    /**     * Returns the list of <code>PixelInCell</code>s.     */    public static PixelInCell[] values() {        synchronized (VALUES) {            return (PixelInCell[]) VALUES.toArray(new PixelInCell[VALUES.size()]);        }    }    /**     * Returns the list of enumerations of the same kind than this enum.     */    public CodeList[] family() {        return values();    }}

⌨️ 快捷键说明

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