|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.io.shpapi.shape_new.ShapeMultiPoint
public class ShapeMultiPoint
ShapeMultiPoint
encapsulates shapefile MultiPoint/M/Z structures.
Field Summary | |
---|---|
protected ShapePoint[] |
points
|
Constructor Summary | |
---|---|
ShapeMultiPoint(boolean isZ,
boolean isM)
|
|
ShapeMultiPoint(boolean isZ,
boolean isM,
CoordinateSystem crs)
|
|
ShapeMultiPoint(MultiPoint p)
Creates MultiPointZ from deegree MultiPoint |
Method Summary | |
---|---|
int |
getByteLength()
|
ShapeEnvelope |
getEnvelope()
|
Geometry |
getGeometry()
This creates a MultiPoint object. |
int |
getType()
|
int |
read(byte[] bytes,
int offset)
Reads the object from a byte array. |
java.lang.String |
toString()
|
int |
write(byte[] bytes,
int offset)
Writes the object to a byte array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ShapePoint[] points
Constructor Detail |
---|
public ShapeMultiPoint(boolean isZ, boolean isM)
isZ
- isM
- public ShapeMultiPoint(boolean isZ, boolean isM, CoordinateSystem crs)
isZ
- isM
- crs
- CoordinateSystem for shapepublic ShapeMultiPoint(MultiPoint p)
p
- Method Detail |
---|
public int getByteLength()
getByteLength
in interface Shape
public int read(byte[] bytes, int offset)
Shape
read
in interface Shape
offset
- where to start reading
public int write(byte[] bytes, int offset)
Shape
write
in interface Shape
public int getType()
getType
in interface Shape
public ShapeEnvelope getEnvelope()
getEnvelope
in interface Shape
public Geometry getGeometry() throws ShapeGeometryException
getGeometry
in interface Shape
ShapeGeometryException
- if the deegree geometry could not be constructedShape.getGeometry()
public java.lang.String toString()
toString
in class java.lang.Object
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org