mapnik
Class Geometry
java.lang.Object
mapnik.NativeObject
mapnik.Geometry
public class Geometry
- extends NativeObject
A mapnik::geometry_type instance. These instances are always owned
by the corresponding feature.
- Author:
- stella
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE_POINT
public static final int TYPE_POINT
- See Also:
- Constant Field Values
TYPE_LINESTRING
public static final int TYPE_LINESTRING
- See Also:
- Constant Field Values
TYPE_POLYGON
public static final int TYPE_POLYGON
- See Also:
- Constant Field Values
TYPE_MULTIPOINT
public static final int TYPE_MULTIPOINT
- See Also:
- Constant Field Values
TYPE_MULTILINESTRING
public static final int TYPE_MULTILINESTRING
- See Also:
- Constant Field Values
TYPE_MULTIPOLYGON
public static final int TYPE_MULTIPOLYGON
- See Also:
- Constant Field Values
getType
public int getType()
getNumPoints
public int getNumPoints()
getVertex
public int getVertex(int pos,
Coord c)
getEnvelope
public Box2d getEnvelope()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object