org.deegree_impl.io.shpapi
Class SHPPolygon
java.lang.Object
org.deegree_impl.io.shpapi.SHPGeometry
org.deegree_impl.io.shpapi.SHPPolygon
- public class SHPPolygon
- extends SHPGeometry
Class representig a two dimensional ESRI Polygon
Last changes:
12.01.2000 ap: constructor re-declared
25.01.2000 ap: constructor modified;
25.01.2000 ap: public variables numRings and numPoints declared
21.03.2000 ap: parameter list of the second constructor modified
14.08.2000 ap: constructor SHPPolygon (GM_Point[][] gm_points) added
14.08.2000 ap: method writeSHPPolygon(..) added
14.08.2000 ap: import clauses added
14.08.2000 ap: method size() added
16.08.2000 ap: constructor SHPPolygon (byte[] recBuf) modified
- Version:
- 16.08.2000
- Author:
- Andreas Poth
Constructor Summary |
SHPPolygon(byte[] recBuf)
constructor: recieves a stream
|
SHPPolygon(GM_Surface[] surface)
constructor: recieves an array of arrays of GM_Points
|
Method Summary |
int |
size()
returns the polygon shape size in bytes
|
java.lang.String |
toString()
|
byte[] |
writeSHPPolygon(byte[] bytearray,
int start)
method: writeSHPPolygon(byte[] bytearray, int start)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
numRings
public int numRings
numPoints
public int numPoints
rings
public SHPPolyLine rings
SHPPolygon
public SHPPolygon(byte[] recBuf)
- constructor: recieves a stream
SHPPolygon
public SHPPolygon(GM_Surface[] surface)
- constructor: recieves an array of arrays of GM_Points
writeSHPPolygon
public byte[] writeSHPPolygon(byte[] bytearray,
int start)
- method: writeSHPPolygon(byte[] bytearray, int start)
size
public int size()
- returns the polygon shape size in bytes
toString
public java.lang.String toString()