org.citygml4j.impl.gml.geometry.primitives
Class PolygonImpl

java.lang.Object
  extended by org.citygml4j.impl.gml.base.AbstractGMLImpl
      extended by org.citygml4j.impl.gml.geometry.AbstractGeometryImpl
          extended by org.citygml4j.impl.gml.geometry.primitives.AbstractGeometricPrimitiveImpl
              extended by org.citygml4j.impl.gml.geometry.primitives.AbstractSurfaceImpl
                  extended by org.citygml4j.impl.gml.geometry.primitives.PolygonImpl
All Implemented Interfaces:
Associable, ModelObject, Child, Copyable, AbstractGML, StandardObjectProperties, AbstractGeometry, AbstractGeometricPrimitive, AbstractSurface, Polygon, SRSInformationGroup, SRSReferenceGroup, GML

public class PolygonImpl
extends AbstractSurfaceImpl
implements Polygon


Constructor Summary
PolygonImpl()
           
 
Method Summary
<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.impl.gml.geometry.AbstractGeometryImpl
addAxisLabel, addUomLabel, getAxisLabels, getGid, 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.impl.gml.base.AbstractGMLImpl
addMetaDataProperty, addName, getDescription, getId, getMetaDataProperty, getModelType, getName, getParent, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, isSetParent, setDescription, setId, setMetaDataProperty, setName, setParent, unsetDescription, unsetId, unsetMetaDataProperty, unsetMetaDataProperty, unsetName, unsetName, unsetParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.citygml4j.model.gml.geometry.AbstractGeometry
getGid, isSetGid, setGid, unsetGid
 
Methods inherited from interface org.citygml4j.model.gml.base.AbstractGML
getId, isSetId, setId, unsetId
 
Methods inherited from interface org.citygml4j.model.gml.base.StandardObjectProperties
addMetaDataProperty, addName, getDescription, getMetaDataProperty, getName, isSetDescription, isSetMetaDataProperty, isSetName, setDescription, setMetaDataProperty, setName, unsetDescription, unsetMetaDataProperty, unsetMetaDataProperty, unsetName, unsetName
 
Methods inherited from interface org.citygml4j.model.common.child.Child
getParent, isSetParent, setParent, unsetParent
 
Methods inherited from interface org.citygml4j.model.gml.geometry.SRSReferenceGroup
getSrsDimension, getSrsName, isSetSrsDimension, isSetSrsName, setSrsDimension, setSrsName, unsetSrsDimension, unsetSrsName
 
Methods inherited from interface org.citygml4j.model.gml.geometry.SRSInformationGroup
addAxisLabel, addUomLabel, getAxisLabels, getUomLabels, isSetAxisLabels, isSetUomLabels, setAxisLabels, setUomLabels, unsetAxisLabels, unsetAxisLabels, unsetUomLabels, unsetUomLabels
 

Constructor Detail

PolygonImpl

public PolygonImpl()
Method Detail

addInterior

public void addInterior(AbstractRingProperty abstractRingProperty)
Specified by:
addInterior in interface Polygon

getExterior

public AbstractRingProperty getExterior()
Specified by:
getExterior in interface Polygon

getInterior

public java.util.List<AbstractRingProperty> getInterior()
Specified by:
getInterior in interface Polygon

isSetExterior

public boolean isSetExterior()
Specified by:
isSetExterior in interface Polygon

isSetInterior

public boolean isSetInterior()
Specified by:
isSetInterior in interface Polygon

setExterior

public void setExterior(AbstractRingProperty abstractRingProperty)
Specified by:
setExterior in interface Polygon

setInterior

public void setInterior(java.util.List<AbstractRingProperty> abstractRingProperty)
Specified by:
setInterior in interface Polygon

unsetExterior

public void unsetExterior()
Specified by:
unsetExterior in interface Polygon

unsetInterior

public void unsetInterior()
Specified by:
unsetInterior in interface Polygon

unsetInterior

public boolean unsetInterior(AbstractRingProperty abstractRingProperty)
Specified by:
unsetInterior in interface Polygon

calcBoundingBox

public BoundingBox calcBoundingBox()
Specified by:
calcBoundingBox in interface AbstractGeometry

getGMLClass

public GMLClass getGMLClass()
Specified by:
getGMLClass in interface GML
Overrides:
getGMLClass in class AbstractGMLImpl

copy

public java.lang.Object copy(CopyBuilder copyBuilder)
Specified by:
copy in interface Copyable

copyTo

public java.lang.Object copyTo(java.lang.Object target,
                               CopyBuilder copyBuilder)
Specified by:
copyTo in interface Copyable
Overrides:
copyTo in class AbstractGeometryImpl

accept

public void accept(GeometryVisitor visitor)
Specified by:
accept in interface AbstractGeometry

accept

public <T> T accept(GeometryFunctor<T> visitor)
Specified by:
accept in interface AbstractGeometry

accept

public void accept(GMLVisitor visitor)
Specified by:
accept in interface AbstractGML

accept

public <T> T accept(GMLFunctor<T> visitor)
Specified by:
accept in interface AbstractGML