Package org.geotools.data.vpf.io
Class SpatialIndexHeader
Object
SpatialIndexHeader
- All Implemented Interfaces:
VPFHeader
SpatialIndexHeader.java Created: Tue Mar 11 23:42:48 2003
- Author:
- Artur Hefczyc
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intVariable constantSPATIAL_INDEX_HEADER_LENGTHkeeps value of -
Constructor Summary
ConstructorsConstructorDescriptionSpatialIndexHeader(int numPrims, float xmin, float ymin, float xmax, float ymax, int numNodes) Creates a newSpatialIndexHeaderinstance. -
Method Summary
Modifier and TypeMethodDescriptionintReturns particularVPFHeaderlength.intGets the value of numNodesintGets the value of numPrimsintMethodis used to return size in bytes of records stored in this table.getRecordSizefloatgetXmax()Gets the value of xmaxfloatgetXmin()Gets the value of xminfloatgetYmax()Gets the value of ymaxfloatgetYmin()Gets the value of ymin
-
Field Details
-
SPATIAL_INDEX_HEADER_LENGTH
public static final int SPATIAL_INDEX_HEADER_LENGTHVariable constantSPATIAL_INDEX_HEADER_LENGTHkeeps value of- See Also:
-
-
Constructor Details
-
SpatialIndexHeader
public SpatialIndexHeader(int numPrims, float xmin, float ymin, float xmax, float ymax, int numNodes) Creates a newSpatialIndexHeaderinstance.- Parameters:
numPrims- anintvaluexmin- afloatvalueymin- afloatvaluexmax- afloatvalueymax- afloatvaluenumNodes- anintvalue
-
-
Method Details
-
getLength
public int getLength()Returns particularVPFHeaderlength. -
getRecordSize
public int getRecordSize()Methodis used to return size in bytes of records stored in this table. If table keeps variable length recordsgetRecordSize-1should be returned.- Specified by:
getRecordSizein 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
-