Class Shape
- java.lang.Object
-
- com.microstrategy.web.app.maps.shp.Shape
-
- Direct Known Subclasses:
MultiPoint
,Point
,Polygon
,PolyLine
public abstract class Shape extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Shape.TYPEEMUN
-
Field Summary
Fields Modifier and Type Field Description protected int[]
__parts
protected double[][]
bbox
protected int
contentLength
protected int
end
protected int
length
protected double[]
mValues
protected int
numberOfParts
protected int
numberOfPoints
protected double[][][]
parts
protected double[]
range
protected int
recordCount
protected int
shapeType
protected int
start
protected Shape.TYPEEMUN
type
protected double[][]
xyzPoints
-
Constructor Summary
Constructors Modifier Constructor Description protected
Shape(Shape.TYPEEMUN type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description double[][]
getBoundingBox()
double[]
getMeasureRange()
double[]
getMeasureValues()
int
getNumberOfParts()
int
getNumberOfPoints()
double[][]
getPoints()
int
getRecordCount()
Shape.TYPEEMUN
getShapeType()
Shape
read(java.nio.ByteBuffer buffer)
protected abstract void
readRecordContent(java.nio.ByteBuffer bb)
protected void
readRecordHeader(java.nio.ByteBuffer bb)
-
-
-
Field Detail
-
bbox
protected double[][] bbox
-
range
protected double[] range
-
numberOfParts
protected int numberOfParts
-
numberOfPoints
protected int numberOfPoints
-
__parts
protected int[] __parts
-
xyzPoints
protected double[][] xyzPoints
-
mValues
protected double[] mValues
-
parts
protected double[][][] parts
-
type
protected Shape.TYPEEMUN type
-
recordCount
protected int recordCount
-
contentLength
protected int contentLength
-
shapeType
protected int shapeType
-
start
protected int start
-
end
protected int end
-
length
protected int length
-
-
Constructor Detail
-
Shape
protected Shape(Shape.TYPEEMUN type)
-
-
Method Detail
-
getMeasureValues
public double[] getMeasureValues()
-
getBoundingBox
public double[][] getBoundingBox()
-
getMeasureRange
public double[] getMeasureRange()
-
getNumberOfPoints
public int getNumberOfPoints()
-
getNumberOfParts
public int getNumberOfParts()
-
getPoints
public double[][] getPoints()
-
read
public Shape read(java.nio.ByteBuffer buffer) throws java.lang.Exception
- Throws:
java.lang.Exception
-
readRecordHeader
protected void readRecordHeader(java.nio.ByteBuffer bb)
-
readRecordContent
protected abstract void readRecordContent(java.nio.ByteBuffer bb)
-
getRecordCount
public int getRecordCount()
-
getShapeType
public Shape.TYPEEMUN getShapeType()
-
-