public class PolygonJTS extends com.vividsolutions.jts.geom.Polygon implements Polygon
Implementation of GML Polygon derived from JTS Polygon class.
Modifier and Type | Field and Description |
---|---|
protected LinearRing |
exterior |
protected List<LinearRing> |
interiorList |
Constructor and Description |
---|
PolygonJTS(com.vividsolutions.jts.geom.GeometryFactory jtsFactory,
int numDims) |
Modifier and Type | Method and Description |
---|---|
void |
addInterior(LinearRing interior)
Adds a new interior property
|
void |
addName(Code name)
Adds a new name property
|
String[] |
getAxisLabels()
Gets the axisLabels property
|
String |
getDescription()
Gets the description property
|
Reference |
getDescriptionReference()
Gets the descriptionReference property
|
LinearRing |
getExterior()
Gets the exterior property
|
Envelope |
getGeomEnvelope() |
String |
getId()
Gets the id property
|
CodeWithAuthority |
getIdentifier()
Gets the identifier property
|
List<LinearRing> |
getInteriorList()
Gets the list of interior properties
|
OgcPropertyList<Object> |
getMetaDataPropertyList()
Gets the list of metaDataProperty properties
|
String |
getName() |
List<Code> |
getNameList()
Gets the list of name properties
|
int |
getNumInteriors()
Returns number of interior properties
|
int |
getNumNames()
Returns number of name properties
|
int |
getSrsDimension()
Gets the srsDimension property
|
String |
getSrsName()
Gets the srsName property
|
String |
getUniqueIdentifier()
Gets the identifier property
|
String[] |
getUomLabels()
Gets the uomLabels property
|
boolean |
isSetAxisLabels()
Checks if axisLabels is set
|
boolean |
isSetDescription()
Checks if description is set
|
boolean |
isSetDescriptionReference()
Checks if descriptionReference is set
|
boolean |
isSetExterior()
Checks if exterior is set
|
boolean |
isSetIdentifier()
Checks if identifier is set
|
boolean |
isSetSrsDimension()
Checks if srsDimension is set
|
boolean |
isSetSrsName()
Checks if srsName is set
|
boolean |
isSetUomLabels()
Checks if uomLabels is set
|
void |
setAxisLabels(String[] axisLabels)
Sets the axisLabels property
|
void |
setDescription(String description)
Sets the description property
|
void |
setDescriptionReference(Reference descriptionReference)
Sets the descriptionReference property
|
void |
setExterior(LinearRing exterior)
Sets the exterior property
|
void |
setId(String id)
Sets the id property
|
void |
setIdentifier(CodeWithAuthority identifier)
Sets the identifier property
|
void |
setName(String name)
Sets the default name
|
void |
setSRID(int srid) |
void |
setSrsDimension(int srsDimension)
Sets the srsDimension property
|
void |
setSrsName(String srsName)
Sets the srsName property
|
void |
setUniqueIdentifier(String identifier)
Sets the identifier property
|
void |
setUomLabels(String[] uomLabels)
Sets the uomLabels property
|
void |
unSetSrsDimension()
Unsets the srsDimension property
|
apply, apply, apply, apply, clone, compareToSameClass, compareToSameClass, computeEnvelopeInternal, convexHull, equalsExact, getArea, getBoundary, getBoundaryDimension, getCoordinate, getCoordinates, getDimension, getExteriorRing, getGeometryType, getInteriorRingN, getLength, getNumInteriorRing, getNumPoints, isEmpty, isRectangle, normalize, reverse
buffer, buffer, buffer, checkNotGeometryCollection, compare, compareTo, compareTo, contains, coveredBy, covers, crosses, difference, disjoint, distance, equal, equals, equals, equalsExact, equalsNorm, equalsTopo, geometryChanged, geometryChangedAction, getCentroid, getEnvelope, getEnvelopeInternal, getFactory, getGeometryN, getInteriorPoint, getNumGeometries, getPrecisionModel, getSRID, getUserData, hashCode, hasNonEmptyElements, hasNullElements, intersection, intersects, isEquivalentClass, isGeometryCollection, isSimple, isValid, isWithinDistance, norm, overlaps, relate, relate, setUserData, symDifference, toString, toText, touches, union, union, within
protected LinearRing exterior
protected List<LinearRing> interiorList
public PolygonJTS(com.vividsolutions.jts.geom.GeometryFactory jtsFactory, int numDims)
public final LinearRing getExterior()
Polygon
getExterior
in interface Polygon
public final boolean isSetExterior()
Polygon
isSetExterior
in interface Polygon
public final void setExterior(LinearRing exterior)
Polygon
setExterior
in interface Polygon
public final List<LinearRing> getInteriorList()
Polygon
getInteriorList
in interface Polygon
public final int getNumInteriors()
Polygon
getNumInteriors
in interface Polygon
public final void addInterior(LinearRing interior)
Polygon
addInterior
in interface Polygon
public final String getSrsName()
AbstractGeometry
getSrsName
in interface AbstractGeometry
public final OgcPropertyList<Object> getMetaDataPropertyList()
AbstractGML
getMetaDataPropertyList
in interface AbstractGML
public final boolean isSetSrsName()
AbstractGeometry
isSetSrsName
in interface AbstractGeometry
public final void setSrsName(String srsName)
AbstractGeometry
setSrsName
in interface AbstractGeometry
public void setSRID(int srid)
setSRID
in class com.vividsolutions.jts.geom.Geometry
public final int getSrsDimension()
AbstractGeometry
getSrsDimension
in interface AbstractGeometry
public final boolean isSetSrsDimension()
AbstractGeometry
isSetSrsDimension
in interface AbstractGeometry
public final String getDescription()
AbstractGML
getDescription
in interface AbstractGML
public final void setSrsDimension(int srsDimension)
AbstractGeometry
setSrsDimension
in interface AbstractGeometry
public final void unSetSrsDimension()
AbstractGeometry
unSetSrsDimension
in interface AbstractGeometry
public final String[] getAxisLabels()
AbstractGeometry
getAxisLabels
in interface AbstractGeometry
public final boolean isSetDescription()
AbstractGML
isSetDescription
in interface AbstractGML
public final boolean isSetAxisLabels()
AbstractGeometry
isSetAxisLabels
in interface AbstractGeometry
public final void setAxisLabels(String[] axisLabels)
AbstractGeometry
setAxisLabels
in interface AbstractGeometry
public final void setDescription(String description)
AbstractGML
setDescription
in interface AbstractGML
public final String[] getUomLabels()
AbstractGeometry
getUomLabels
in interface AbstractGeometry
public final Reference getDescriptionReference()
AbstractGML
getDescriptionReference
in interface AbstractGML
public final boolean isSetUomLabels()
AbstractGeometry
isSetUomLabels
in interface AbstractGeometry
public final boolean isSetDescriptionReference()
AbstractGML
isSetDescriptionReference
in interface AbstractGML
public final void setUomLabels(String[] uomLabels)
AbstractGeometry
setUomLabels
in interface AbstractGeometry
public final void setDescriptionReference(Reference descriptionReference)
AbstractGML
setDescriptionReference
in interface AbstractGML
public final CodeWithAuthority getIdentifier()
AbstractGML
getIdentifier
in interface AbstractGML
public final String getUniqueIdentifier()
AbstractGML
getUniqueIdentifier
in interface AbstractGML
public final boolean isSetIdentifier()
AbstractGML
isSetIdentifier
in interface AbstractGML
public final void setIdentifier(CodeWithAuthority identifier)
AbstractGML
setIdentifier
in interface AbstractGML
public final void setUniqueIdentifier(String identifier)
AbstractGML
setUniqueIdentifier
in interface AbstractGML
public final List<Code> getNameList()
AbstractGML
getNameList
in interface AbstractGML
public final int getNumNames()
AbstractGML
getNumNames
in interface AbstractGML
public final void addName(Code name)
AbstractGML
addName
in interface AbstractGML
public final void setName(String name)
AbstractGML
setName
in interface AbstractGML
public final String getName()
getName
in interface AbstractGML
public final String getId()
AbstractGML
getId
in interface AbstractGML
public final void setId(String id)
AbstractGML
setId
in interface AbstractGML
public Envelope getGeomEnvelope()
getGeomEnvelope
in interface AbstractGeometry
Copyright © 2016 Sensia Software LLC. All rights reserved.