|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.cutruzzula.lwkt.geometry.AbstractGeometry
it.cutruzzula.lwkt.geometry.Polygon
public class Polygon
The class represents a POLYGON object.
Constructor Summary | |
---|---|
Polygon(java.util.List<MultiPoint> multiPoints)
Constructor. |
Method Summary | |
---|---|
MultiPoint |
getExterior()
Method to get the external multi-point. |
java.util.List<MultiPoint> |
getInteriors()
Method to get the list of internal multi-points. |
java.util.List<MultiPoint> |
getMultiPoints()
Method to get the list of multi-points. |
java.lang.String |
getType()
Method to get the geometry type. |
Methods inherited from class it.cutruzzula.lwkt.geometry.AbstractGeometry |
---|
getDimensions |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Polygon(java.util.List<MultiPoint> multiPoints) throws java.lang.Exception
multiPoints
- A java.util.List of MultiPoint objects
A
- generic exception if dimensions are not homogeneous or rings are not closed
java.lang.Exception
Method Detail |
---|
public java.util.List<MultiPoint> getMultiPoints()
public MultiPoint getExterior()
public java.util.List<MultiPoint> getInteriors()
public java.lang.String getType()
getType
in class AbstractGeometry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |