java.lang.Object | |
↳ | com.commsignia.v2x.client.model.Intersection |
Represents an intersection.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Intersection()
Creates a new instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
clearLaneWidth()
Clears the lane width value.
| ||||||||||
boolean | equals(Object o) | ||||||||||
GenericLane |
findLaneByNumber(long laneNumber)
Find a lane by lane number
| ||||||||||
long |
getId()
Returns the intersection id.
| ||||||||||
List<GenericLane> |
getIntersectionLaneSet()
Returns the set of lanes of this intersection
| ||||||||||
Double |
getLaneWidth(LengthUnit unit)
Returns the width of the lane in the specified units.
| ||||||||||
String |
getName()
Returns the name of the intersection
| ||||||||||
Position3D |
getRefPoint()
Returns the reference point of this intersection
| ||||||||||
int |
getRevision()
Returns the revision.
| ||||||||||
List<RegSpeedLimit> |
getSpeedLimits()
Returns the list of speed limits.
| ||||||||||
boolean |
hasLaneWidth()
Returns true if the lane width is set.
| ||||||||||
int | hashCode() | ||||||||||
void |
setId(long id)
Sets the intersection id.
| ||||||||||
void |
setIntersectionLaneSet(List<GenericLane> intersectionLaneSet)
Sets the lanes of this intersection
| ||||||||||
void |
setLaneWidth(double laneWidth, LengthUnit laneWidthUnit)
Sets the width of the lane.
| ||||||||||
void |
setName(String name)
Sets the name of the intersection
| ||||||||||
void |
setRefPoint(Position3D refPoint)
Sets the reference point of this intersection
| ||||||||||
void |
setRevision(int revision)
Sets the revision
| ||||||||||
void |
setSpeedLimits(List<RegSpeedLimit> speedLimits)
Sets the list of speed limits.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new instance.
Clears the lane width value.
Find a lane by lane number
laneNumber | lane number |
---|
Returns the intersection id.
Returns the set of lanes of this intersection
Returns the width of the lane in the specified units.
unit | target unit |
---|
Returns the name of the intersection
Returns the reference point of this intersection
Returns the revision.
Returns the list of speed limits.
Returns true if the lane width is set.
Sets the intersection id.
id | intersection id |
---|
Sets the lanes of this intersection
intersectionLaneSet | lanes of this intersection |
---|
Sets the width of the lane.
laneWidth | width of the lane |
---|---|
laneWidthUnit | unit of lane width |
Sets the name of the intersection
name | intersection name |
---|
Sets the reference point of this intersection
refPoint | reference point |
---|
Sets the revision
revision | revision |
---|
Sets the list of speed limits.
speedLimits | list of speed limits |
---|