|
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.Objectorg.deegree.io.shpapi.shape_new.ShapeMultiPatch
public class ShapeMultiPatch
ShapeMultiPatch corresponds to a shapefile MultiPatch object.
| Field Summary | |
|---|---|
static int |
FIRST_RING
First ring of a polygon part type. |
static int |
INNER_RING
Inner polygon ring part type. |
static int |
OUTER_RING
Outer polygon ring part type. |
static int |
RING
Polygon ring part type. |
static int |
TRIANGLE_FAN
Triangle fan part type. |
static int |
TRIANGLE_STRIP
Triangle strip part type. |
| Constructor Summary | |
|---|---|
ShapeMultiPatch(int length)
Empty constructor, used for reading. |
|
ShapeMultiPatch(int length,
CoordinateSystem crs)
Empty constructor, used for reading. |
|
ShapeMultiPatch(MultiSurface f)
Constructs one from deegree MultiSurface. |
|
| Method Summary | |
|---|---|
int |
getByteLength()
|
ShapeEnvelope |
getEnvelope()
|
Geometry |
getGeometry()
Creates a MultiSurface 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 |
|---|
public static final int TRIANGLE_STRIP
public static final int TRIANGLE_FAN
public static final int OUTER_RING
public static final int INNER_RING
public static final int FIRST_RING
public static final int RING
| Constructor Detail |
|---|
public ShapeMultiPatch(int length)
length - expected length for reading
public ShapeMultiPatch(int length,
CoordinateSystem crs)
length - expected length for readingcrs - CoordinateSystem for shapepublic ShapeMultiPatch(MultiSurface f)
f - | Method Detail |
|---|
public int getByteLength()
getByteLength in interface Shapepublic ShapeEnvelope getEnvelope()
getEnvelope in interface Shapepublic int getType()
getType in interface Shape
public int read(byte[] bytes,
int offset)
Shape
read in interface Shapeoffset - where to start reading
public int write(byte[] bytes,
int offset)
Shape
write in interface Shape
public Geometry getGeometry()
throws ShapeGeometryException
getGeometry in interface ShapeShapeGeometryException - 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