org.osm2world.core.world.network
public interface NetworkWaySegmentWorldObject extends WorldObject
WorldObject
s that have certain
frequently required characteristics. Most importantly, a network
consists of nodes, lines and areas linked with each other.
Other characteristics include
- cut angles where lines (or lines and areas) connect
- junctions at nodes that occupy some area and push back connecting lines
//TODO (documentation): explain more
Features using these types of representation include roads,
railways and rivers.Modifier and Type | Method and Description |
---|---|
VectorXZ |
getEndCutVector()
returns the cut vector for the end of the line.
|
VectorXZ |
getEndOffset()
returns the current offset for the end of the line.
|
VectorXZ |
getStartCutVector()
returns the cut vector for the start of the line.
|
VectorXZ |
getStartOffset()
returns the current offset for the end of the line.
|
float |
getWidth()
returns the line's width
|
void |
setEndCutVector(VectorXZ cutVector)
Sets the cut vector for the end of the line.
|
void |
setEndOffset(VectorXZ offsetVector)
Sets the offset for the end of the line.
|
void |
setStartCutVector(VectorXZ cutVector)
Sets the cut vector for the start of the line.
|
void |
setStartOffset(VectorXZ offsetVector)
Sets the offset for the start of the line.
|
defineEleConstraints, getEleConnectors, getGroundState, getPrimaryMapElement
float getWidth()
VectorXZ getStartCutVector()
setStartCutVector(VectorXZ)
.void setStartCutVector(VectorXZ cutVector)
NetworkCalculator
.VectorXZ getEndCutVector()
setStartCutVector(VectorXZ)
.void setEndCutVector(VectorXZ cutVector)
NetworkCalculator
.VectorXZ getStartOffset()
setEndOffset(VectorXZ)
call, returning (0,0).void setStartOffset(VectorXZ offsetVector)
NetworkCalculator
.VectorXZ getEndOffset()
setEndOffset(VectorXZ)
call, returning (0,0).void setEndOffset(VectorXZ offsetVector)
NetworkCalculator
.