org.citygml4j.model.gml.geometry.primitives
Class LineStringSegment
java.lang.Object
org.citygml4j.model.gml.geometry.primitives.AbstractCurveSegment
org.citygml4j.model.gml.geometry.primitives.LineStringSegment
- All Implemented Interfaces:
- Associable, ModelObject, Child, Copyable, GML
public class LineStringSegment
- extends AbstractCurveSegment
Methods inherited from class org.citygml4j.model.gml.geometry.primitives.AbstractCurveSegment |
getNumDerivativeInterior, getNumDerivativesAtEnd, getNumDerivativesAtStart, getParent, isSetNumDerivativeInterior, isSetNumDerivativesAtEnd, isSetNumDerivativesAtStart, isSetParent, setNumDerivativeInterior, setNumDerivativesAtEnd, setNumDerivativesAtStart, setParent, unsetNumDerivativeInterior, unsetNumDerivativesAtEnd, unsetNumDerivativesAtStart, unsetParent |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineStringSegment
public LineStringSegment()
getModelType
public ModelType getModelType()
getGMLClass
public GMLClass getGMLClass()
calcBoundingBox
public BoundingBox calcBoundingBox()
- Specified by:
calcBoundingBox
in class AbstractCurveSegment
addPointProperty
public void addPointProperty(PointProperty pointProperty)
addPointRep
public void addPointRep(PointRep pointRep)
addPos
public void addPos(DirectPosition pos)
addControlPoint
public void addControlPoint(PosOrPointPropertyOrPointRep controlPoint)
getCoordinates
public Coordinates getCoordinates()
getInterpolation
public CurveInterpolation getInterpolation()
getPosList
public DirectPositionList getPosList()
getPosOrPointPropertyOrPointRep
public java.util.List<PosOrPointPropertyOrPointRep> getPosOrPointPropertyOrPointRep()
isSetCoordinates
public boolean isSetCoordinates()
isSetInterpolation
public boolean isSetInterpolation()
isSetPosList
public boolean isSetPosList()
isSetPosOrPointPropertyOrPointRep
public boolean isSetPosOrPointPropertyOrPointRep()
setCoordinates
public void setCoordinates(Coordinates coordinates)
setInterpolation
public void setInterpolation(CurveInterpolation interpolation)
setPosList
public void setPosList(DirectPositionList posList)
setPosOrPointPropertyOrPointRep
public void setPosOrPointPropertyOrPointRep(java.util.List<PosOrPointPropertyOrPointRep> 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()
unsetInterpolation
public void unsetInterpolation()
unsetPosList
public void unsetPosList()
unsetPosOrPointPropertyOrPointRep
public boolean unsetPosOrPointPropertyOrPointRep(PosOrPointPropertyOrPointRep controlPoint)
unsetPointProperty
public boolean unsetPointProperty(PointProperty pointProperty)
unsetPointRep
public boolean unsetPointRep(PointRep pointRep)
unsetPos
public boolean unsetPos(DirectPosition pos)
unsetPosOrPointPropertyOrPointRep
public void unsetPosOrPointPropertyOrPointRep()
copyTo
public java.lang.Object copyTo(java.lang.Object target,
CopyBuilder copyBuilder)
- Specified by:
copyTo
in interface Copyable
- Overrides:
copyTo
in class AbstractCurveSegment
copy
public java.lang.Object copy(CopyBuilder copyBuilder)