001: /*
002: * GeoTools - OpenSource mapping toolkit
003: * http://geotools.org
004: * (C) 2003-2006, Geotools Project Managment Committee (PMC)
005: * (C) 2003 Refractions Research Inc.
006: *
007: * This library is free software; you can redistribute it and/or
008: * modify it under the terms of the GNU Lesser General Public
009: * License as published by the Free Software Foundation; either
010: * version 2.1 of the License, or (at your option) any later version.
011: *
012: * This library is distributed in the hope that it will be useful,
013: * but WITHOUT ANY WARRANTY; without even the implied warranty of
014: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015: * Lesser General Public License for more details.
016: *
017: * Refractions Research Inc. Can be found on the web at:
018: * http://www.refractions.net/
019: */
020: package org.geotools.data.oracle.sdo;
021:
022: /**
023: * ETYPE is a set of constants used to describe Oracle SDO Geometries.
024: *
025: * @author Jody Garnett, Refractions Research, Inc.
026: * @author $Author: jgarnett $ (last modification)
027: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/unsupported/oracle-spatial/src/main/java/org/geotools/data/oracle/sdo/ETYPE.java $
028: * @version $Id: ETYPE.java 20886 2006-08-07 15:30:17Z jgarnett $
029: */
030: public interface ETYPE {
031: /** <code>ETYPE</code> code representing custom geometries (like splines) */
032: public static final int CUSTOM = 0;
033:
034: /** <code>ETYPE</code> code representing Point */
035: public static final int POINT = 1;
036:
037: /** <code>ETYPE</code> code representing Line */
038: public static final int LINE = 2;
039:
040: /** <code>ETYPE</code> code representing Polygon (not recommended) */
041: public static final int POLYGON = 3;
042:
043: /** <code>ETYPE</code> code representing exterior CCW polygon ring */
044: public static final int POLYGON_EXTERIOR = 1003;
045:
046: /** <code>ETYPE</code> code representing interior CW polygon ring */
047: public static final int POLYGON_INTERIOR = 2003;
048:
049: /**
050: * <code>ETYPE</code> code representing compound linestring
051: *
052: * <p>
053: * A compound polygon represents its edges using a combination of sequence
054: * of straight and curved edges.
055: * </p>
056: *
057: * <p>
058: * Compound LineString is not representatble as a JTS Geometry
059: * </p>
060: */
061: public static final int COMPOUND = 4;
062:
063: /**
064: * <code>ETYPE</code> code representing compound polygon.
065: *
066: * <p>
067: * A compound polygon represents its edge using a combination of sequence
068: * of straight and curved edges.
069: * </p>
070: *
071: * <p>
072: * Compound Polygon is not representatble as a JTS Geometry
073: * </p>
074: */
075: public static final int COMPOUND_POLYGON = 5;
076:
077: /**
078: * <code>ETYPE</code> code representing compound exterior CCW polygon ring
079: *
080: * <p>
081: * A compound polygon represents its edges using a combination of sequence
082: * of straight and curved edges.
083: * </p>
084: *
085: * <p>
086: * Compound Polygon Interior is not representatble as a JTS Geometry
087: * </p>
088: */
089: public static final int COMPOUND_POLYGON_EXTERIOR = 1005;
090:
091: /**
092: * <code>ETYPE</code> code representing compound interior CW polygon ring
093: *
094: * <p>
095: * A compound polygon represents its edges using a combination of sequence
096: * of straight and curved edges.
097: * </p>
098: *
099: * <p>
100: * Compound Polygon Exterior is not representatble as a JTS Geometry
101: * </p>
102: */
103: public static final int COMPOUND_POLYGON_INTERIOR = 2005;
104: }
|