|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bbn.openmap.layer.vpf.DcwSpatialIndex.PrimitiveRecord
A class that wraps an entry in the spatial index.
Field Summary | |
int |
primId
the id of the primitive this record is for |
short |
x1
see the VPF spec for what these mean |
short |
x2
see the VPF spec for what these mean |
short |
y1
see the VPF spec for what these mean |
short |
y2
see the VPF spec for what these mean |
Constructor Summary | |
DcwSpatialIndex.PrimitiveRecord(BinaryFile inputFile)
construct a new primitive record |
Method Summary | |
java.lang.String |
toString()
Returns a pretty string representation of the record |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public final short x1
public final short y1
public final short x2
public final short y2
public final int primId
Constructor Detail |
public DcwSpatialIndex.PrimitiveRecord(BinaryFile inputFile) throws FormatException, java.io.EOFException
inputFile
- the file to read the record from
FormatException
- an error was encountered reading
the record
java.io.EOFException
- an error was encountered reading
the recordMethod Detail |
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |