org.postgis
Class Polygon

java.lang.Object
  |
  +--org.postgis.Geometry
        |
        +--org.postgis.Polygon

public class Polygon
extends Geometry


Fields inherited from class org.postgis.Geometry
dimension, GEOMETRYCOLLECTION, LINESTRING, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, POINT, POLYGON, type
 
Constructor Summary
Polygon()
           
Polygon(LinearRing[] rings)
           
Polygon(java.lang.String value)
           
 
Method Summary
 LinearRing getRing(int idx)
           
 java.lang.String getValue()
           
 int numRings()
           
 java.lang.String toString()
           
 
Methods inherited from class org.postgis.Geometry
getDimension, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Polygon

public Polygon()

Polygon

public Polygon(LinearRing[] rings)

Polygon

public Polygon(java.lang.String value)
        throws java.sql.SQLException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getValue

public java.lang.String getValue()

numRings

public int numRings()

getRing

public LinearRing getRing(int idx)