org.citygml4j.model.gml.geometry.primitives
Class LineString
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.AbstractCurve
org.citygml4j.model.gml.geometry.primitives.LineString
- All Implemented Interfaces:
- Associable, ModelObject, Child, Copyable, StandardObjectProperties, SRSInformationGroup, SRSReferenceGroup, GML
public class LineString
- extends AbstractCurve
Methods inherited from class org.citygml4j.model.gml.geometry.AbstractGeometry |
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.model.gml.base.AbstractGML |
addMetaDataProperty, addName, getDescription, getId, getLocalProperty, getMetaDataProperty, getModelType, getName, getParent, hasLocalProperty, isSetDescription, isSetId, isSetMetaDataProperty, isSetName, isSetParent, setDescription, setId, setLocalProperty, setMetaDataProperty, setName, setParent, unsetDescription, unsetId, unsetLocalProperty, unsetMetaDataProperty, unsetMetaDataProperty, unsetName, unsetName, unsetParent |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineString
public LineString()
calcBoundingBox
public BoundingBox calcBoundingBox()
- Specified by:
calcBoundingBox
in class AbstractGeometry
getGMLClass
public GMLClass getGMLClass()
- Specified by:
getGMLClass
in interface GML
- Overrides:
getGMLClass
in class AbstractGML
addCoord
public void addCoord(Coord coord)
addPointProperty
public void addPointProperty(PointProperty pointProperty)
addPointRep
public void addPointRep(PointRep pointRep)
addPos
public void addPos(DirectPosition pos)
addControlPoint
public void addControlPoint(PosOrPointPropertyOrPointRepOrCoord controlPoint)
getCoordinates
public Coordinates getCoordinates()
getPosList
public DirectPositionList getPosList()
getPosOrPointPropertyOrPointRepOrCoord
public java.util.List<PosOrPointPropertyOrPointRepOrCoord> getPosOrPointPropertyOrPointRepOrCoord()
isSetCoordinates
public boolean isSetCoordinates()
isSetPosList
public boolean isSetPosList()
isSetPosOrPointPropertyOrPointRepOrCoord
public boolean isSetPosOrPointPropertyOrPointRepOrCoord()
setCoordinates
public void setCoordinates(Coordinates coordinates)
setPosList
public void setPosList(DirectPositionList posList)
setPosOrPointPropertyOrPointRepOrCoord
public void setPosOrPointPropertyOrPointRepOrCoord(java.util.List<PosOrPointPropertyOrPointRepOrCoord> controlPoints)
toList3d
public java.util.List<java.lang.Double> toList3d()
toList3d
public java.util.List<java.lang.Double> toList3d(boolean reverseOrder)
unsetCoordinates
public void unsetCoordinates()
unsetPosList
public void unsetPosList()
unsetPosOrPointPropertyOrPointRepOrCoord
public void unsetPosOrPointPropertyOrPointRepOrCoord()
unsetPosOrPointPropertyOrPointRepOrCoord
public boolean unsetPosOrPointPropertyOrPointRepOrCoord(PosOrPointPropertyOrPointRepOrCoord controlPoint)
unsetCoord
public boolean unsetCoord(Coord coord)
unsetPointProperty
public boolean unsetPointProperty(PointProperty pointProperty)
unsetPointRep
public boolean unsetPointRep(PointRep pointRep)
unsetPos
public boolean unsetPos(DirectPosition pos)
copyTo
public java.lang.Object copyTo(java.lang.Object target,
CopyBuilder copyBuilder)
- Specified by:
copyTo
in interface Copyable
- Overrides:
copyTo
in class AbstractGeometry
copy
public java.lang.Object copy(CopyBuilder copyBuilder)
accept
public void accept(GeometryVisitor visitor)
- Specified by:
accept
in class AbstractGeometry
accept
public <T> T accept(GeometryFunctor<T> visitor)
- Specified by:
accept
in class AbstractGeometry
accept
public void accept(GMLVisitor visitor)
- Specified by:
accept
in class AbstractGML
accept
public <T> T accept(GMLFunctor<T> visitor)
- Specified by:
accept
in class AbstractGML