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

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.AbstractRingImpl
              extended by org.citygml4j.impl.gml.geometry.primitives.LinearRingImpl
All Implemented Interfaces:
Associable, ModelObject, Child, Copyable, AbstractGML, StandardObjectProperties, AbstractGeometry, AbstractRing, LinearRing, SRSInformationGroup, SRSReferenceGroup, GML

public class LinearRingImpl
extends AbstractRingImpl
implements LinearRing


Constructor Summary
LinearRingImpl()
           
 
Method Summary
<T> T
accept(GeometryFunctor<T> visitor)
           
 void accept(GeometryVisitor visitor)
           
<T> T
accept(GMLFunctor<T> visitor)
           
 void accept(GMLVisitor visitor)
           
 void addControlPoint(PosOrPointPropertyOrPointRep controlPoint)
           
 void addCoord(Coord coord)
           
 void addPointProperty(PointProperty pointProperty)
           
 void addPointRep(PointRep pointRep)
           
 void addPos(DirectPosition pos)
           
 BoundingBox calcBoundingBox()
           
 java.lang.Object copy(CopyBuilder copyBuilder)
           
 java.lang.Object copyTo(java.lang.Object target, CopyBuilder copyBuilder)
           
 java.util.List<Coord> getCoord()
           
 Coordinates getCoordinates()
           
 GMLClass getGMLClass()
           
 DirectPositionList getPosList()
           
 java.util.List<PosOrPointPropertyOrPointRep> getPosOrPointPropertyOrPointRep()
           
 boolean isSetCoord()
           
 boolean isSetCoordinates()
           
 boolean isSetPosList()
           
 boolean isSetPosOrPointPropertyOrPointRep()
           
 void setCoord(java.util.List<Coord> coord)
           
 void setCoordinates(Coordinates coordinates)
           
 void setPosList(DirectPositionList posList)
           
 void setPosOrPointPropertyOrPointRep(java.util.List<PosOrPointPropertyOrPointRep> controlPoints)
           
 java.util.List<java.lang.Double> toList3d()
           
 java.util.List<java.lang.Double> toList3d(boolean reverseOrder)
           
 void unsetCoord()
           
 void unsetCoordinates()
           
 boolean unsetPointProperty(PointProperty pointProperty)
           
 boolean unsetPointRep(PointRep pointRep)
           
 boolean unsetPos(DirectPosition pos)
           
 void unsetPosList()
           
 void unsetPosOrPointPropertyOrPointRep()
           
 boolean unsetPosOrPointPropertyOrPointRep(PosOrPointPropertyOrPointRep controlPoint)
           
 
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

LinearRingImpl

public LinearRingImpl()
Method Detail

getGMLClass

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

calcBoundingBox

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

addCoord

public void addCoord(Coord coord)
Specified by:
addCoord in interface LinearRing

addPointProperty

public void addPointProperty(PointProperty pointProperty)
Specified by:
addPointProperty in interface LinearRing

addPointRep

public void addPointRep(PointRep pointRep)
Specified by:
addPointRep in interface LinearRing

addPos

public void addPos(DirectPosition pos)
Specified by:
addPos in interface LinearRing

addControlPoint

public void addControlPoint(PosOrPointPropertyOrPointRep controlPoint)
Specified by:
addControlPoint in interface LinearRing

getCoord

public java.util.List<Coord> getCoord()
Specified by:
getCoord in interface LinearRing

getCoordinates

public Coordinates getCoordinates()
Specified by:
getCoordinates in interface LinearRing

getPosList

public DirectPositionList getPosList()
Specified by:
getPosList in interface LinearRing

getPosOrPointPropertyOrPointRep

public java.util.List<PosOrPointPropertyOrPointRep> getPosOrPointPropertyOrPointRep()
Specified by:
getPosOrPointPropertyOrPointRep in interface LinearRing

isSetCoord

public boolean isSetCoord()
Specified by:
isSetCoord in interface LinearRing

isSetCoordinates

public boolean isSetCoordinates()
Specified by:
isSetCoordinates in interface LinearRing

isSetPosList

public boolean isSetPosList()
Specified by:
isSetPosList in interface LinearRing

isSetPosOrPointPropertyOrPointRep

public boolean isSetPosOrPointPropertyOrPointRep()
Specified by:
isSetPosOrPointPropertyOrPointRep in interface LinearRing

setCoordinates

public void setCoordinates(Coordinates coordinates)
Specified by:
setCoordinates in interface LinearRing

setPosList

public void setPosList(DirectPositionList posList)
Specified by:
setPosList in interface LinearRing

setCoord

public void setCoord(java.util.List<Coord> coord)
Specified by:
setCoord in interface LinearRing

setPosOrPointPropertyOrPointRep

public void setPosOrPointPropertyOrPointRep(java.util.List<PosOrPointPropertyOrPointRep> controlPoints)
Specified by:
setPosOrPointPropertyOrPointRep in interface LinearRing

toList3d

public java.util.List<java.lang.Double> toList3d()
Specified by:
toList3d in interface LinearRing

toList3d

public java.util.List<java.lang.Double> toList3d(boolean reverseOrder)
Specified by:
toList3d in interface LinearRing

unsetCoord

public void unsetCoord()
Specified by:
unsetCoord in interface LinearRing

unsetCoordinates

public void unsetCoordinates()
Specified by:
unsetCoordinates in interface LinearRing

unsetPosOrPointPropertyOrPointRep

public boolean unsetPosOrPointPropertyOrPointRep(PosOrPointPropertyOrPointRep controlPoint)
Specified by:
unsetPosOrPointPropertyOrPointRep in interface LinearRing

unsetPointProperty

public boolean unsetPointProperty(PointProperty pointProperty)
Specified by:
unsetPointProperty in interface LinearRing

unsetPointRep

public boolean unsetPointRep(PointRep pointRep)
Specified by:
unsetPointRep in interface LinearRing

unsetPos

public boolean unsetPos(DirectPosition pos)
Specified by:
unsetPos in interface LinearRing

unsetPosList

public void unsetPosList()
Specified by:
unsetPosList in interface LinearRing

unsetPosOrPointPropertyOrPointRep

public void unsetPosOrPointPropertyOrPointRep()
Specified by:
unsetPosOrPointPropertyOrPointRep in interface LinearRing

copyTo

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

copy

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

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