|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rometools.feed.module.georss.geometries.AbstractGeometry
org.rometools.feed.module.georss.geometries.AbstractGeometricPrimitive
org.rometools.feed.module.georss.geometries.AbstractSurface
org.rometools.feed.module.georss.geometries.Polygon
public final class Polygon
Polygon, a surface object bounded by one external ring and zero or more internal rings
Constructor Summary | |
---|---|
Polygon()
Creates a new instance of Polygon |
Method Summary | |
---|---|
Object |
clone()
Make a deep copy of the geometric object |
boolean |
equals(Object obj)
|
AbstractRing |
getExterior()
Retrieve the outer border |
List |
getInterior()
Retrieve the inner border |
void |
setExterior(AbstractRing exterior)
Set the outer border |
void |
setInterior(List interior)
Set the list of inner borders (holes) |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Polygon()
Method Detail |
---|
public Object clone() throws CloneNotSupportedException
AbstractGeometry
clone
in class AbstractGeometry
CloneNotSupportedException
public boolean equals(Object obj)
equals
in class AbstractGeometry
public AbstractRing getExterior()
public List getInterior()
public void setExterior(AbstractRing exterior)
exterior
- the outer ringpublic void setInterior(List interior)
interior
- the list of inner rings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |