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 classShape.TYPEEMUN
-
Field Summary
Fields Modifier and Type Field Description protected int[]__partsprotected double[][]bboxprotected intcontentLengthprotected intendprotected intlengthprotected double[]mValuesprotected intnumberOfPartsprotected intnumberOfPointsprotected double[][][]partsprotected double[]rangeprotected intrecordCountprotected intshapeTypeprotected intstartprotected Shape.TYPEEMUNtypeprotected double[][]xyzPoints
-
Constructor Summary
Constructors Modifier Constructor Description protectedShape(Shape.TYPEEMUN type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description double[][]getBoundingBox()double[]getMeasureRange()double[]getMeasureValues()intgetNumberOfParts()intgetNumberOfPoints()double[][]getPoints()intgetRecordCount()Shape.TYPEEMUNgetShapeType()Shaperead(java.nio.ByteBuffer buffer)protected abstract voidreadRecordContent(java.nio.ByteBuffer bb)protected voidreadRecordHeader(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()
-
-