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

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.PointImpl
All Implemented Interfaces:
Associable, ModelObject, Child, Copyable, AbstractGML, StandardObjectProperties, AbstractGeometry, AbstractGeometricPrimitive, Point, SRSInformationGroup, SRSReferenceGroup, GML

public class PointImpl
extends AbstractGeometricPrimitiveImpl
implements Point


Constructor Summary
PointImpl()
           
 
Method Summary
<T> T
accept(GeometryFunctor<T> visitor)
           
 void accept(GeometryVisitor visitor)
           
<T> T
accept(GMLFunctor<T> visitor)
           
 void accept(GMLVisitor visitor)
           
 BoundingBox calcBoundingBox()
           
 java.lang.Object copy(CopyBuilder copyBuilder)
           
 java.lang.Object copyTo(java.lang.Object target, CopyBuilder copyBuilder)
           
 Coord getCoord()
           
 Coordinates getCoordinates()
           
 GMLClass getGMLClass()
           
 DirectPosition getPos()
           
 boolean isSetCoord()
           
 boolean isSetCoordinates()
           
 boolean isSetPos()
           
 void setCoord(Coord coord)
           
 void setCoordinates(Coordinates coordinates)
           
 void setPos(DirectPosition pos)
           
 java.util.List<java.lang.Double> toList3d()
           
 void unsetCoord()
           
 void unsetCoordinates()
           
 void unsetPos()
           
 
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

PointImpl

public PointImpl()
Method Detail

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

getCoord

public Coord getCoord()
Specified by:
getCoord in interface Point

getCoordinates

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

getPos

public DirectPosition getPos()
Specified by:
getPos in interface Point

isSetCoord

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

isSetCoordinates

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

isSetPos

public boolean isSetPos()
Specified by:
isSetPos in interface Point

setCoord

public void setCoord(Coord coord)
Specified by:
setCoord in interface Point

setCoordinates

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

setPos

public void setPos(DirectPosition pos)
Specified by:
setPos in interface Point

toList3d

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

unsetCoord

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

unsetCoordinates

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

unsetPos

public void unsetPos()
Specified by:
unsetPos in interface Point

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