public final class Polygon extends AbstractSurface
| Constructor and Description |
|---|
Polygon() |
| Modifier and Type | Method and Description |
|---|---|
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<AbstractRing> |
getInterior()
Retrieve the inner border
|
void |
setExterior(AbstractRing exterior)
Set the outer border
|
void |
setInterior(java.util.List<AbstractRing> interior)
Set the list of inner borders (holes)
|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
AbstractGeometryclone in class AbstractGeometryjava.lang.CloneNotSupportedExceptionpublic boolean equals(java.lang.Object obj)
equals in class AbstractGeometrypublic AbstractRing getExterior()
public java.util.List<AbstractRing> getInterior()
public void setExterior(AbstractRing exterior)
exterior - the outer ringpublic void setInterior(java.util.List<AbstractRing> interior)
interior - the list of inner ringsCopyright © 2025. All rights reserved.