|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.io.shpapi.ShapeUtils
public class ShapeUtils
Utilities for reading and writing the components of shape files.
Last changes:
25.11.1999 ap: memory allocation dynaminized
17.1.2000 ap: method SHPPoint readPoint(byte[] b, int off) modified
17.1.2000 ap: method SHPEnvelope readBox(byte[] b, int off) modified
17.1.2000 ap: method writePoint(..) modified
Constructor Summary | |
---|---|
ShapeUtils()
|
Method Summary | |
---|---|
static SHPEnvelope |
readBox(byte[] b,
int off)
method: readBox(byte[] b, int off) Reads a bounding box record. |
static SHPPoint |
readPoint(byte[] b,
int off)
readPoint(byte[] b, int off) Reads a point record. |
static int |
writeBox(byte[] b,
int off,
SHPEnvelope box)
method: writeBox(byte[] b, int off, ESRIBoundingBox box) Writes the given bounding box to the given buffer at the given location. |
static int |
writePoint(byte[] b,
int off,
SHPPoint point)
method: writePoint(byte[] b, int off, ESRIPoint point) Writes the given point to the given buffer at the given location. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShapeUtils()
Method Detail |
---|
public static SHPPoint readPoint(byte[] b, int off)
b
- the raw data bufferoff
- the offset into the buffer where the int resides
public static SHPEnvelope readBox(byte[] b, int off)
b
- the raw data bufferoff
- the offset into the buffer where the int resides
public static int writePoint(byte[] b, int off, SHPPoint point)
b
- the data bufferoff
- the offset into the buffer where writing should occurpoint
- the point to write
public static int writeBox(byte[] b, int off, SHPEnvelope box)
b
- the data bufferoff
- the offset into the buffer where writing should occurbox
- the bounding box to write
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org