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

java.lang.Object
  extended by org.citygml4j.impl.gml.geometry.primitives.AbstractCurveSegmentImpl
      extended by org.citygml4j.impl.gml.geometry.primitives.LineStringSegmentImpl
All Implemented Interfaces:
Associable, ModelObject, Child, Copyable, AbstractCurveSegment, LineStringSegment, GML

public class LineStringSegmentImpl
extends AbstractCurveSegmentImpl
implements LineStringSegment


Constructor Summary
LineStringSegmentImpl()
           
 
Method Summary
 void addControlPoint(PosOrPointPropertyOrPointRep controlPoint)
           
 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)
           
 Coordinates getCoordinates()
           
 GMLClass getGMLClass()
           
 CurveInterpolation getInterpolation()
           
 ModelType getModelType()
           
 DirectPositionList getPosList()
           
 java.util.List<PosOrPointPropertyOrPointRep> getPosOrPointPropertyOrPointRep()
           
 boolean isSetCoordinates()
           
 boolean isSetInterpolation()
           
 boolean isSetPosList()
           
 boolean isSetPosOrPointPropertyOrPointRep()
           
 void setCoordinates(Coordinates coordinates)
           
 void setInterpolation(CurveInterpolation interpolation)
           
 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 unsetCoordinates()
           
 void unsetInterpolation()
           
 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.primitives.AbstractCurveSegmentImpl
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
 
Methods inherited from interface org.citygml4j.model.gml.geometry.primitives.AbstractCurveSegment
getNumDerivativeInterior, getNumDerivativesAtEnd, getNumDerivativesAtStart, isSetNumDerivativeInterior, isSetNumDerivativesAtEnd, isSetNumDerivativesAtStart, setNumDerivativeInterior, setNumDerivativesAtEnd, setNumDerivativesAtStart, unsetNumDerivativeInterior, unsetNumDerivativesAtEnd, unsetNumDerivativesAtStart
 
Methods inherited from interface org.citygml4j.model.common.child.Child
getParent, isSetParent, setParent, unsetParent
 

Constructor Detail

LineStringSegmentImpl

public LineStringSegmentImpl()
Method Detail

getModelType

public ModelType getModelType()
Specified by:
getModelType in interface ModelObject

getGMLClass

public GMLClass getGMLClass()
Specified by:
getGMLClass in interface GML

calcBoundingBox

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

addPointProperty

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

addPointRep

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

addPos

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

addControlPoint

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

getCoordinates

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

getInterpolation

public CurveInterpolation getInterpolation()
Specified by:
getInterpolation in interface LineStringSegment

getPosList

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

getPosOrPointPropertyOrPointRep

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

isSetCoordinates

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

isSetInterpolation

public boolean isSetInterpolation()
Specified by:
isSetInterpolation in interface LineStringSegment

isSetPosList

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

isSetPosOrPointPropertyOrPointRep

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

setCoordinates

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

setInterpolation

public void setInterpolation(CurveInterpolation interpolation)
Specified by:
setInterpolation in interface LineStringSegment

setPosList

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

setPosOrPointPropertyOrPointRep

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

toList3d

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

toList3d

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

unsetCoordinates

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

unsetInterpolation

public void unsetInterpolation()
Specified by:
unsetInterpolation in interface LineStringSegment

unsetPosList

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

unsetPosOrPointPropertyOrPointRep

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

unsetPointProperty

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

unsetPointRep

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

unsetPos

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

unsetPosOrPointPropertyOrPointRep

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

copyTo

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

copy

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