org.geotools.data.vpf.io
Class SpatialIndexHeader

java.lang.Object
  extended byorg.geotools.data.vpf.io.SpatialIndexHeader
All Implemented Interfaces:
VPFHeader

public class SpatialIndexHeader
extends java.lang.Object
implements VPFHeader

SpatialIndexHeader.java Created: Tue Mar 11 23:42:48 2003

Version:
$Id: SpatialIndexHeader.java 17700 2006-01-22 23:30:39Z desruisseaux $
Author:
Artur Hefczyc

Field Summary
static int SPATIAL_INDEX_HEADER_LENGTH
          Variable constant SPATIAL_INDEX_HEADER_LENGTH keeps value of
 
Constructor Summary
SpatialIndexHeader(int numPrims, float xmin, float ymin, float xmax, float ymax, int numNodes)
          Creates a new SpatialIndexHeader instance.
 
Method Summary
 int getLength()
          Returns particular VPFHeader length.
 int getNumNodes()
          Gets the value of numNodes
 int getNumPrims()
          Gets the value of numPrims
 int getRecordSize()
          Method getRecordSize 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPATIAL_INDEX_HEADER_LENGTH

public static final int SPATIAL_INDEX_HEADER_LENGTH
Variable constant SPATIAL_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 new SpatialIndexHeader instance.

Parameters:
numPrims - an int value
xmin - a float value
ymin - a float value
xmax - a float value
ymax - a float value
numNodes - an int value
Method Detail

getLength

public int getLength()
Returns particular VPFHeader length.

Specified by:
getLength in interface VPFHeader
Returns:
an int value of header length.

getRecordSize

public int getRecordSize()
Method getRecordSize is used to return size in bytes of records stored in this table. If table keeps variable length records -1 should be returned.

Specified by:
getRecordSize in interface VPFHeader
Returns:
an int value

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


Copyright © GeoTools. All Rights Reserved.