|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.syndication.feed.module.georss.geometries.AbstractGeometry com.sun.syndication.feed.module.georss.geometries.AbstractGeometricPrimitive com.sun.syndication.feed.module.georss.geometries.AbstractSurface com.sun.syndication.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 | |
---|---|
java.lang.Object |
clone()
Make a deep copy of the geometric object |
boolean |
equals(java.lang.Object obj)
|
AbstractRing |
getExterior()
Retrieve the outer border |
java.util.List |
getInterior()
Retrieve the inner border |
void |
setExterior(AbstractRing exterior)
Set the outer border |
void |
setInterior(java.util.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 java.lang.Object clone() throws java.lang.CloneNotSupportedException
AbstractGeometry
clone
in class AbstractGeometry
java.lang.CloneNotSupportedException
public boolean equals(java.lang.Object obj)
equals
in class AbstractGeometry
public AbstractRing getExterior()
public java.util.List getInterior()
public void setExterior(AbstractRing exterior)
exterior
- the outer ringpublic void setInterior(java.util.List interior)
interior
- the list of inner rings
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |