public class SpatialIndexHeader extends Object implements VPFHeader
Modifier and Type | Field and Description |
---|---|
static int |
SPATIAL_INDEX_HEADER_LENGTH
Variable constant
SPATIAL_INDEX_HEADER_LENGTH keeps value of |
Constructor and Description |
---|
SpatialIndexHeader(int numPrims,
float xmin,
float ymin,
float xmax,
float ymax,
int numNodes)
Creates a new
SpatialIndexHeader instance. |
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Returns particular
VPFHeader length. |
int |
getNumNodes()
Gets the value of numNodes
|
int |
getNumPrims()
Gets the value of numPrims
|
int |
getRecordSize()
Method
is used to return size in bytes of records
stored in this table. |
float |
getXmax()
Gets the value of xmax
|
float |
getXmin()
Gets the value of xmin
|
float |
getYmax()
Gets the value of ymax
|
float |
getYmin()
Gets the value of ymin
|
public static final int SPATIAL_INDEX_HEADER_LENGTH
SPATIAL_INDEX_HEADER_LENGTH
keeps value ofpublic SpatialIndexHeader(int numPrims, float xmin, float ymin, float xmax, float ymax, int numNodes)
SpatialIndexHeader
instance.numPrims
- an int
valuexmin
- a float
valueymin
- a float
valuexmax
- a float
valueymax
- a float
valuenumNodes
- an int
valuepublic int getLength()
VPFHeader
length.public int getRecordSize()
getRecordSize
is used to return size in bytes of records
stored in this table. If table keeps variable length records -1
should be
returned.getRecordSize
in interface VPFHeader
int
valuepublic int getNumPrims()
public float getXmin()
public float getYmin()
public float getXmax()
public float getYmax()
public int getNumNodes()
Copyright © 1996–2021 Geotools. All rights reserved.