|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NetworkWaySegmentWorldObject
"networks" are sets of 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.
Method Summary | |
---|---|
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. |
Methods inherited from interface WorldObject |
---|
getClearingAbove, getClearingBelow, getGroundState, getPrimaryMapElement |
Method Detail |
---|
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
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |