| 
 | ||||||||||
| 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.MultiPolygon
public class MultiPolygon
The class represents a MULTIPOLYGON object.
| Constructor Summary | |
|---|---|
| MultiPolygon(java.util.List<Polygon> polygons)Constructor. | |
| Method Summary | |
|---|---|
|  java.util.List<Polygon> | getPolygons()Method to get the list of 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 MultiPolygon(java.util.List<Polygon> polygons)
             throws java.lang.Exception
polygons - A java.util.List of Polygon objects
A - generic exception if dimensions are not homogeneous or polygons are not closed
java.lang.Exception| Method Detail | 
|---|
public java.util.List<Polygon> getPolygons()
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 | |||||||||