Package org.geotools.data.vpf.io
Class SpatialIndexHeader
- Object
-
- SpatialIndexHeader
-
- All Implemented Interfaces:
VPFHeader
public class SpatialIndexHeader extends Object implements VPFHeader
SpatialIndexHeader.java Created: Tue Mar 11 23:42:48 2003- Author:
- Artur Hefczyc
-
-
Field Summary
Fields Modifier and Type Field Description static int
SPATIAL_INDEX_HEADER_LENGTH
Variable constantSPATIAL_INDEX_HEADER_LENGTH
keeps value of
-
Constructor Summary
Constructors Constructor Description SpatialIndexHeader(int numPrims, float xmin, float ymin, float xmax, float ymax, int numNodes)
Creates a newSpatialIndexHeader
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLength()
Returns particularVPFHeader
length.int
getNumNodes()
Gets the value of numNodesint
getNumPrims()
Gets the value of numPrimsint
getRecordSize()
Method
is used to return size in bytes of records stored in this table.getRecordSize
float
getXmax()
Gets the value of xmaxfloat
getXmin()
Gets the value of xminfloat
getYmax()
Gets the value of ymaxfloat
getYmin()
Gets the value of ymin
-
-
-
Field Detail
-
SPATIAL_INDEX_HEADER_LENGTH
public static final int SPATIAL_INDEX_HEADER_LENGTH
Variable constantSPATIAL_INDEX_HEADER_LENGTH
keeps value of- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SpatialIndexHeader
public SpatialIndexHeader(int numPrims, float xmin, float ymin, float xmax, float ymax, int numNodes)
Creates a newSpatialIndexHeader
instance.- Parameters:
numPrims
- anint
valuexmin
- afloat
valueymin
- afloat
valuexmax
- afloat
valueymax
- afloat
valuenumNodes
- anint
value
-
-
Method Detail
-
getLength
public int getLength()
Returns particularVPFHeader
length.
-
getRecordSize
public int getRecordSize()
Method
is used to return size in bytes of records stored in this table. If table keeps variable length recordsgetRecordSize
-1
should be returned.- Specified by:
getRecordSize
in interfaceVPFHeader
- Returns:
- an
valueint
-
getNumPrims
public int getNumPrims()
Gets the value of numPrims- Returns:
- the value of numPrims
-
getXmin
public float getXmin()
Gets the value of xmin- Returns:
- the value of xmin
-
getYmin
public float getYmin()
Gets the value of ymin- Returns:
- the value of ymin
-
getXmax
public float getXmax()
Gets the value of xmax- Returns:
- the value of xmax
-
getYmax
public float getYmax()
Gets the value of ymax- Returns:
- the value of ymax
-
getNumNodes
public int getNumNodes()
Gets the value of numNodes- Returns:
- the value of numNodes
-
-