Class Polygon
- java.lang.Object
-
- org.citygml4j.model.gml.base.AbstractGML
-
- org.citygml4j.model.gml.geometry.AbstractGeometry
-
- org.citygml4j.model.gml.geometry.primitives.AbstractGeometricPrimitive
-
- org.citygml4j.model.gml.geometry.primitives.AbstractSurface
-
- org.citygml4j.model.gml.geometry.primitives.Polygon
-
- All Implemented Interfaces:
java.io.Serializable
,Associable
,ModelObject
,Child
,Copyable
,StandardObjectProperties
,SRSInformationGroup
,SRSReferenceGroup
,GML
public class Polygon extends AbstractSurface
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Polygon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(GeometryFunctor<T> visitor)
void
accept(GeometryVisitor visitor)
<T> T
accept(GMLFunctor<T> visitor)
void
accept(GMLVisitor visitor)
void
addInterior(AbstractRingProperty abstractRingProperty)
BoundingBox
calcBoundingBox()
java.lang.Object
copy(CopyBuilder copyBuilder)
java.lang.Object
copyTo(java.lang.Object target, CopyBuilder copyBuilder)
AbstractRingProperty
getExterior()
GMLClass
getGMLClass()
java.util.List<AbstractRingProperty>
getInterior()
boolean
isSetExterior()
boolean
isSetInterior()
void
setExterior(AbstractRingProperty abstractRingProperty)
void
setInterior(java.util.List<AbstractRingProperty> abstractRingProperty)
void
unsetExterior()
void
unsetInterior()
boolean
unsetInterior(AbstractRingProperty abstractRingProperty)
-
Methods inherited from class org.citygml4j.model.gml.geometry.AbstractGeometry
addAxisLabel, addUomLabel, getAxisLabels, getGid, getInheritedSrsName, getSrsDimension, getSrsName, getUomLabels, isSetAxisLabels, isSetGid, isSetSrsDimension, isSetSrsName, isSetUomLabels, setAxisLabels, setGid, setSrsDimension, setSrsName, setUomLabels, unsetAxisLabels, unsetAxisLabels, unsetGid, unsetSrsDimension, unsetSrsName, unsetUomLabels, unsetUomLabels
-
Methods inherited from class org.citygml4j.model.gml.base.AbstractGML
addMetaDataProperty, addName, getDescription, getId, getLocalProperty, getMetaDataProperty, getName, getParent, hasLocalProperty, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, isSetParent, setDescription, setId, setLocalProperty, setMetaDataProperty, setName, setParent, unsetDescription, unsetId, unsetLocalProperty, unsetMetaDataProperty, unsetMetaDataProperty, unsetName, unsetName, unsetParent
-
-
-
-
Method Detail
-
addInterior
public void addInterior(AbstractRingProperty abstractRingProperty)
-
getExterior
public AbstractRingProperty getExterior()
-
getInterior
public java.util.List<AbstractRingProperty> getInterior()
-
isSetExterior
public boolean isSetExterior()
-
isSetInterior
public boolean isSetInterior()
-
setExterior
public void setExterior(AbstractRingProperty abstractRingProperty)
-
setInterior
public void setInterior(java.util.List<AbstractRingProperty> abstractRingProperty)
-
unsetExterior
public void unsetExterior()
-
unsetInterior
public void unsetInterior()
-
unsetInterior
public boolean unsetInterior(AbstractRingProperty abstractRingProperty)
-
calcBoundingBox
public BoundingBox calcBoundingBox()
- Specified by:
calcBoundingBox
in classAbstractGeometry
-
getGMLClass
public GMLClass getGMLClass()
- Specified by:
getGMLClass
in interfaceGML
- Overrides:
getGMLClass
in classAbstractGML
-
copy
public java.lang.Object copy(CopyBuilder copyBuilder)
-
copyTo
public java.lang.Object copyTo(java.lang.Object target, CopyBuilder copyBuilder)
- Specified by:
copyTo
in interfaceCopyable
- Overrides:
copyTo
in classAbstractGeometry
-
accept
public void accept(GeometryVisitor visitor)
- Specified by:
accept
in classAbstractGeometry
-
accept
public <T> T accept(GeometryFunctor<T> visitor)
- Specified by:
accept
in classAbstractGeometry
-
accept
public void accept(GMLVisitor visitor)
- Specified by:
accept
in classAbstractGML
-
accept
public <T> T accept(GMLFunctor<T> visitor)
- Specified by:
accept
in classAbstractGML
-
-