|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.io.bnaapi.BNAFeature
A feature read from a BNA File. It may hold more than one Geometry.
Field Summary | |
private GM_Envelope |
_envelope
The bounding box for all the geometries of this feature |
private java.util.Vector |
_geometries
The BNAGeometry'es of this feature |
private java.lang.String[] |
_headers
The headers' names |
Constructor Summary | |
BNAFeature(java.lang.String[] headers)
Creates a new BNAFeature object. |
Method Summary | |
void |
addGeometry(BNAGeometry geom)
Adds a geometry to this BNAFeature |
GM_Envelope |
getEnvelope()
Returns the bounding box containing all the geometris of this feature. |
BNAGeometry |
getGeometry(int i)
Method getGeometry |
java.lang.String |
getHeader(int i)
|
int |
getHeaderSize()
|
java.lang.String |
getHeads()
|
private static GM_Envelope |
merge(GM_Envelope a,
GM_Envelope b)
Merges two envelopes, computing the Envelope that contains both. |
int |
size()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private GM_Envelope _envelope
private java.util.Vector _geometries
private java.lang.String[] _headers
Constructor Detail |
public BNAFeature(java.lang.String[] headers)
headers
- Method Detail |
public java.lang.String getHeader(int i)
public int getHeaderSize()
public int size()
public GM_Envelope getEnvelope()
public BNAGeometry getGeometry(int i)
public void addGeometry(BNAGeometry geom)
geom
- The BNAGeometry to be addedprivate static GM_Envelope merge(GM_Envelope a, GM_Envelope b)
public java.lang.String toString()
public java.lang.String getHeads()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |