java.lang.Object | |
↳ | com.commsignia.v2x.client.model.GenericLane |
Represents a generic lane.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GenericLane()
Creates a new instance
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
clearSpeedLimit()
Clears the speed limit value.
| ||||||||||
boolean | equals(Object o) | ||||||||||
AllowedManeuvers |
getAllowedManeuvers()
Returns the allowed maneuvers.
| ||||||||||
Long |
getApproachGroupEgress()
Returns the egress group approach id
| ||||||||||
Long |
getApproachGroupIngress()
Returns the ingress group approach id
| ||||||||||
List<LaneConnection> |
getConnectsTo()
Returns the list of connections to other lanes.
| ||||||||||
LaneBundling |
getLaneBundling()
Returns the lane bundling type.
| ||||||||||
LaneDirection |
getLaneDirection()
Returns the direction of this lane.
| ||||||||||
int |
getLaneId()
Returns the lane id.
| ||||||||||
LaneType |
getLaneType()
Returns the lane type
| ||||||||||
String |
getName()
Returns the name of the lane
| ||||||||||
List<LaneNode> |
getNodeList()
Returns the list of nodes for this lane.
| ||||||||||
LaneSharing |
getSharedWith()
Returns the lane sharing status.
| ||||||||||
Double |
getSpeedLimit(SpeedUnit unit)
Returns the speed limit in the specified unit
| ||||||||||
boolean |
hasSpeedLimit()
Determines if this generic lane has a set speed limit.
| ||||||||||
int | hashCode() | ||||||||||
void |
setAllowedManeuvers(AllowedManeuvers allowedManeuvers)
Sets the allowed maneuvers.
| ||||||||||
void |
setApproachGroupEgress(Long approachGroupEgress)
Sets the egress group approach id
| ||||||||||
void |
setApproachGroupIngress(Long approachGroupIngress)
Sets the ingress group approach id
| ||||||||||
void |
setConnectsTo(List<LaneConnection> connectsTo)
Sets the list of connections to other lanes.
| ||||||||||
void |
setLaneBundling(LaneBundling laneBundling)
Sets the lane bundling type.
| ||||||||||
void |
setLaneDirection(LaneDirection laneDirection)
Sets the direction of this lane.
| ||||||||||
void |
setLaneId(int laneId)
Sets the lane id
| ||||||||||
void |
setLaneType(LaneType laneType)
Sets the lane type
| ||||||||||
void |
setName(String name)
Sets the name of the lane
| ||||||||||
void |
setNodeList(List<LaneNode> nodeList)
Sets the list of nodes for this lane.
| ||||||||||
void |
setSharedWith(LaneSharing sharedWith)
Sets the lane sharing status.
| ||||||||||
void |
setSpeedLimit(double speedLimit, SpeedUnit speedLimitUnit)
Sets the speed limit in the specified unit
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new instance
Clears the speed limit value.
Returns the allowed maneuvers.
Returns the egress group approach id
Returns the ingress group approach id
Returns the list of connections to other lanes.
Returns the direction of this lane.
Returns the lane id.
Returns the name of the lane
Returns the list of nodes for this lane.
Returns the lane sharing status.
Returns the speed limit in the specified unit
unit | target unit |
---|
Determines if this generic lane has a set speed limit.
Sets the allowed maneuvers.
allowedManeuvers | allowed maneuvers |
---|
Sets the egress group approach id
approachGroupEgress | egress group approach id |
---|
Sets the ingress group approach id
approachGroupIngress | ingress group approach id |
---|
Sets the list of connections to other lanes.
connectsTo | list of connections to other lanes |
---|
Sets the lane bundling type.
laneBundling | lane bundling type. |
---|
Sets the direction of this lane.
laneDirection | direction of this lane |
---|
Sets the lane id
laneId | lane id |
---|
Sets the name of the lane
name | name of the lane |
---|
Sets the list of nodes for this lane.
nodeList | list of nodes for this lane, contains points comprising of lane |
---|
Sets the lane sharing status.
sharedWith | lane sharing status (whether shared with bus, taxi, pedestrian, etc.) |
---|
Sets the speed limit in the specified unit
speedLimit | speed limit value |
---|---|
speedLimitUnit | speed limit unit |