Package net.opengis.gml.v32.impl
Class PolygonJTS
java.lang.Object
org.locationtech.jts.geom.Geometry
org.locationtech.jts.geom.Polygon
net.opengis.gml.v32.impl.PolygonJTS
- All Implemented Interfaces:
 Serializable,Cloneable,Comparable,AbstractGeometry,AbstractGML,AbstractSurface,Polygon,org.locationtech.jts.geom.Polygonal
Implementation of GML Polygon derived from JTS Polygon class.
- Since:
 - Dec 23, 2014
 - See Also:
 
- 
Field Summary
Fields inherited from class org.locationtech.jts.geom.Polygon
holes, shellFields inherited from class org.locationtech.jts.geom.Geometry
envelope, factory, SRID, TYPECODE_GEOMETRYCOLLECTION, TYPECODE_LINEARRING, TYPECODE_LINESTRING, TYPECODE_MULTILINESTRING, TYPECODE_MULTIPOINT, TYPECODE_MULTIPOLYGON, TYPECODE_POINT, TYPECODE_POLYGON, TYPENAME_GEOMETRYCOLLECTION, TYPENAME_LINEARRING, TYPENAME_LINESTRING, TYPENAME_MULTILINESTRING, TYPENAME_MULTIPOINT, TYPENAME_MULTIPOLYGON, TYPENAME_POINT, TYPENAME_POLYGON - 
Constructor Summary
ConstructorsConstructorDescriptionPolygonJTS(org.locationtech.jts.geom.GeometryFactory jtsFactory, int numDims)  - 
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddInterior(LinearRing interior) Adds a new interior propertyfinal voidaddName(CodeWithAuthority name) Adds a new name propertyfinal String[]Gets the axisLabels propertyfinal StringGets the description propertyfinal ReferenceGets the descriptionReference propertyfinal LinearRingGets the exterior propertyfinal StringgetId()Gets the id propertyfinal CodeWithAuthorityGets the identifier propertyfinal List<LinearRing>Gets the list of interior propertiesfinal OgcPropertyList<Serializable>Gets the list of metaDataProperty propertiesfinal StringgetName()final List<CodeWithAuthority>Gets the list of name propertiesfinal intReturns number of interior propertiesfinal intReturns number of name propertiesfinal intGets the srsDimension propertyfinal StringGets the srsName propertyfinal StringGets the identifier propertyfinal String[]Gets the uomLabels propertyfinal booleanChecks if axisLabels is setfinal booleanChecks if description is setfinal booleanChecks if descriptionReference is setfinal booleanChecks if exterior is setfinal booleanChecks if identifier is setfinal booleanChecks if srsDimension is setfinal booleanChecks if srsName is setfinal booleanChecks if uomLabels is setfinal voidsetAxisLabels(String[] axisLabels) Sets the axisLabels propertyfinal voidsetDescription(String description) Sets the description propertyfinal voidsetDescriptionReference(Reference descriptionReference) Sets the descriptionReference propertyfinal voidsetExterior(LinearRing exterior) Sets the exterior propertyfinal voidSets the id propertyfinal voidsetIdentifier(CodeWithAuthority identifier) Sets the identifier propertyfinal voidSets the default namevoidsetSRID(int srid) final voidsetSrsDimension(int srsDimension) Sets the srsDimension propertyfinal voidsetSrsName(String srsName) Sets the srsName propertyfinal voidsetUniqueIdentifier(String identifier) Sets the identifier propertyfinal voidsetUomLabels(String[] uomLabels) Sets the uomLabels propertyfinal voidUnsets the srsDimension propertyMethods inherited from class org.locationtech.jts.geom.Polygon
apply, apply, apply, apply, clone, compareToSameClass, compareToSameClass, computeEnvelopeInternal, convexHull, copyInternal, equalsExact, getArea, getBoundary, getBoundaryDimension, getCoordinate, getCoordinates, getDimension, getExteriorRing, getGeometryType, getInteriorRingN, getLength, getNumInteriorRing, getNumPoints, getTypeCode, isEmpty, isRectangle, normalize, reverse, reverseInternalMethods inherited from class org.locationtech.jts.geom.Geometry
buffer, buffer, buffer, compare, compareTo, compareTo, contains, copy, 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 
- 
Constructor Details
- 
PolygonJTS
public PolygonJTS(org.locationtech.jts.geom.GeometryFactory jtsFactory, int numDims)  
 - 
 - 
Method Details
- 
getExterior
Description copied from interface:PolygonGets the exterior property- Specified by:
 getExteriorin interfacePolygon
 - 
isSetExterior
public final boolean isSetExterior()Description copied from interface:PolygonChecks if exterior is set- Specified by:
 isSetExteriorin interfacePolygon
 - 
setExterior
Description copied from interface:PolygonSets the exterior property- Specified by:
 setExteriorin interfacePolygon
 - 
getInteriorList
Description copied from interface:PolygonGets the list of interior properties- Specified by:
 getInteriorListin interfacePolygon
 - 
getNumInteriors
public final int getNumInteriors()Description copied from interface:PolygonReturns number of interior properties- Specified by:
 getNumInteriorsin interfacePolygon
 - 
addInterior
Description copied from interface:PolygonAdds a new interior property- Specified by:
 addInteriorin interfacePolygon
 - 
getSrsName
Description copied from interface:AbstractGeometryGets the srsName property- Specified by:
 getSrsNamein interfaceAbstractGeometry
 - 
getMetaDataPropertyList
Description copied from interface:AbstractGMLGets the list of metaDataProperty properties- Specified by:
 getMetaDataPropertyListin interfaceAbstractGML
 - 
isSetSrsName
public final boolean isSetSrsName()Description copied from interface:AbstractGeometryChecks if srsName is set- Specified by:
 isSetSrsNamein interfaceAbstractGeometry
 - 
setSrsName
Description copied from interface:AbstractGeometrySets the srsName property- Specified by:
 setSrsNamein interfaceAbstractGeometry
 - 
setSRID
public void setSRID(int srid) - Overrides:
 setSRIDin classorg.locationtech.jts.geom.Geometry
 - 
getSrsDimension
public final int getSrsDimension()Description copied from interface:AbstractGeometryGets the srsDimension property- Specified by:
 getSrsDimensionin interfaceAbstractGeometry
 - 
isSetSrsDimension
public final boolean isSetSrsDimension()Description copied from interface:AbstractGeometryChecks if srsDimension is set- Specified by:
 isSetSrsDimensionin interfaceAbstractGeometry
 - 
getDescription
Description copied from interface:AbstractGMLGets the description property- Specified by:
 getDescriptionin interfaceAbstractGML
 - 
setSrsDimension
public final void setSrsDimension(int srsDimension) Description copied from interface:AbstractGeometrySets the srsDimension property- Specified by:
 setSrsDimensionin interfaceAbstractGeometry
 - 
unSetSrsDimension
public final void unSetSrsDimension()Description copied from interface:AbstractGeometryUnsets the srsDimension property- Specified by:
 unSetSrsDimensionin interfaceAbstractGeometry
 - 
getAxisLabels
Description copied from interface:AbstractGeometryGets the axisLabels property- Specified by:
 getAxisLabelsin interfaceAbstractGeometry
 - 
isSetDescription
public final boolean isSetDescription()Description copied from interface:AbstractGMLChecks if description is set- Specified by:
 isSetDescriptionin interfaceAbstractGML
 - 
isSetAxisLabels
public final boolean isSetAxisLabels()Description copied from interface:AbstractGeometryChecks if axisLabels is set- Specified by:
 isSetAxisLabelsin interfaceAbstractGeometry
 - 
setAxisLabels
Description copied from interface:AbstractGeometrySets the axisLabels property- Specified by:
 setAxisLabelsin interfaceAbstractGeometry
 - 
setDescription
Description copied from interface:AbstractGMLSets the description property- Specified by:
 setDescriptionin interfaceAbstractGML
 - 
getUomLabels
Description copied from interface:AbstractGeometryGets the uomLabels property- Specified by:
 getUomLabelsin interfaceAbstractGeometry
 - 
getDescriptionReference
Description copied from interface:AbstractGMLGets the descriptionReference property- Specified by:
 getDescriptionReferencein interfaceAbstractGML
 - 
isSetUomLabels
public final boolean isSetUomLabels()Description copied from interface:AbstractGeometryChecks if uomLabels is set- Specified by:
 isSetUomLabelsin interfaceAbstractGeometry
 - 
isSetDescriptionReference
public final boolean isSetDescriptionReference()Description copied from interface:AbstractGMLChecks if descriptionReference is set- Specified by:
 isSetDescriptionReferencein interfaceAbstractGML
 - 
setUomLabels
Description copied from interface:AbstractGeometrySets the uomLabels property- Specified by:
 setUomLabelsin interfaceAbstractGeometry
 - 
setDescriptionReference
Description copied from interface:AbstractGMLSets the descriptionReference property- Specified by:
 setDescriptionReferencein interfaceAbstractGML
 - 
getIdentifier
Description copied from interface:AbstractGMLGets the identifier property- Specified by:
 getIdentifierin interfaceAbstractGML
 - 
getUniqueIdentifier
Description copied from interface:AbstractGMLGets the identifier property- Specified by:
 getUniqueIdentifierin interfaceAbstractGML
 - 
isSetIdentifier
public final boolean isSetIdentifier()Description copied from interface:AbstractGMLChecks if identifier is set- Specified by:
 isSetIdentifierin interfaceAbstractGML
 - 
setIdentifier
Description copied from interface:AbstractGMLSets the identifier property- Specified by:
 setIdentifierin interfaceAbstractGML
 - 
setUniqueIdentifier
Description copied from interface:AbstractGMLSets the identifier property- Specified by:
 setUniqueIdentifierin interfaceAbstractGML
 - 
getNameList
Description copied from interface:AbstractGMLGets the list of name properties- Specified by:
 getNameListin interfaceAbstractGML
 - 
getNumNames
public final int getNumNames()Description copied from interface:AbstractGMLReturns number of name properties- Specified by:
 getNumNamesin interfaceAbstractGML
 - 
addName
Description copied from interface:AbstractGMLAdds a new name property- Specified by:
 addNamein interfaceAbstractGML
 - 
setName
Description copied from interface:AbstractGMLSets the default name- Specified by:
 setNamein interfaceAbstractGML
 - 
getName
- Specified by:
 getNamein interfaceAbstractGML- Returns:
 - the default name
 
 - 
getId
Description copied from interface:AbstractGMLGets the id property- Specified by:
 getIdin interfaceAbstractGML
 - 
setId
Description copied from interface:AbstractGMLSets the id property- Specified by:
 setIdin interfaceAbstractGML
 - 
getGeomEnvelope
- Specified by:
 getGeomEnvelopein interfaceAbstractGeometry- Returns:
 - the geometry bounding (hyper)rectangle
 
 
 -