Class Polygon
- java.lang.Object
-
- net.anwiba.spatial.geometry.internal.AbstractGeometry
-
- net.anwiba.spatial.geometry.internal.Polygon
-
- All Implemented Interfaces:
java.io.Serializable,IBaseGeometry,IGeometry,IPolygon,IPolygonal
- Direct Known Subclasses:
Rectangle
public class Polygon extends AbstractGeometry implements IPolygon
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetCoordinateDimension()ICoordinateSequencegetCoordinateSequence()GeometryTypegetGeometryType()ILinearRinggetInnerRingN(int index)java.lang.Iterable<ILinearRing>getInnerRings()intgetNumberOfInnerRings()ILinearRinggetOuterRing()inthashCode()-
Methods inherited from class net.anwiba.spatial.geometry.internal.AbstractGeometry
ensure, getCoordinateN, getCoordinateReferenceSystem, getDimension, getEnvelope, getNumberOfCoordinates, isCollection, isMeasured
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.anwiba.spatial.geometry.IGeometry
getCoordinateN, getCoordinateReferenceSystem, getDimension, getEnvelope, getNumberOfCoordinates, isCollection, isMeasured
-
-
-
-
Method Detail
-
getCoordinateDimension
public int getCoordinateDimension()
- Specified by:
getCoordinateDimensionin interfaceIGeometry
-
getCoordinateSequence
public ICoordinateSequence getCoordinateSequence()
- Specified by:
getCoordinateSequencein interfaceIGeometry- Specified by:
getCoordinateSequencein classAbstractGeometry
-
getGeometryType
public GeometryType getGeometryType()
- Specified by:
getGeometryTypein interfaceIGeometry- Specified by:
getGeometryTypein classAbstractGeometry
-
getInnerRingN
public ILinearRing getInnerRingN(int index)
- Specified by:
getInnerRingNin interfaceIPolygon
-
getNumberOfInnerRings
public int getNumberOfInnerRings()
- Specified by:
getNumberOfInnerRingsin interfaceIPolygon
-
getOuterRing
public ILinearRing getOuterRing()
- Specified by:
getOuterRingin interfaceIPolygon
-
getInnerRings
public java.lang.Iterable<ILinearRing> getInnerRings()
- Specified by:
getInnerRingsin interfaceIPolygon
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractGeometry
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classAbstractGeometry
-
-