|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bbn.openmap.dataAccess.shape.ShapeUtils
com.bbn.openmap.layer.shape.ESRIPoly
public abstract class ESRIPoly
A representation of a shape file polygon, subordinate to an
ESRIPolygonRecord
. This is an abstract class,
please use one of the fully derived internal classes to do your
bidding.
Nested Class Summary | |
---|---|
static class |
ESRIPoly.ESRIFloatPoly
Poly with data stored in floating point format. |
Field Summary | |
---|---|
int |
nPoints
The number of (y,x) pairs of the ESRIPoly. |
Constructor Summary | |
---|---|
ESRIPoly()
|
Method Summary | |
---|---|
abstract int |
read(byte[] b,
int off,
boolean connect)
Reads a polygon from the given buffer starting at the given offset. |
Methods inherited from class com.bbn.openmap.dataAccess.shape.ShapeUtils |
---|
getStringForType, readBEInt, readBox, readLEDouble, readLEInt, readLEInt, readLELong, readPoint, writeBEInt, writeBox, writeLEDouble, writeLEInt, writeLELong, writePoint |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int nPoints
points.length>>1
.
Constructor Detail |
---|
public ESRIPoly()
Method Detail |
---|
public abstract int read(byte[] b, int off, boolean connect)
b
- the bufferoff
- the offset
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |