blob: b5d0c4e748a8ad79094c7919f7d62a1ea6c17614 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018
* IBM Corporation, BfR, and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* Contributors:
* IBM Corporation - initial API and implementation and new features
* Bundesinstitut für Risikobewertung - Pajek Graph interface, new Veterinary Models
*******************************************************************************/
package org.eclipse.stem.gis.shp;
import org.eclipse.stem.gis.shp.type.Box;
import org.eclipse.stem.gis.shp.type.Range;
public class ShpHeader
{
int fileCode;
int fileLength;
int version;
int shapeType;
Box xyBounds;
Range zRange;
Range mRange;
public int getFileCode() {
return fileCode;
}
public int getFileLength() {
return fileLength;
}
public int getVersion() {
return version;
}
public int getShapeType() {
return shapeType;
}
public Box getXYBoundingBox() {
return xyBounds;
}
public Range getZRange() {
return zRange;
}
public Range getMRange() {
return mRange;
}
@Override
public String toString() {
return "ShpHeader [fileCode=" + fileCode + ", fileLength=" + fileLength
+ ", version=" + version + ", shapeType=" + shapeType
+ ", xyBounds=" + xyBounds + ", zRange=" + zRange + ", mRange="
+ mRange + "]";
}
}