Class AbstractNWBRoadElement
java.lang.Object
org.opentrafficsim.road.network.factory.shape.AbstractNWBRoadElement
- Direct Known Subclasses:
NWBDrivingLane
,NWBRoadElement
,NWBSpecialLane
public abstract class AbstractNWBRoadElement
extends java.lang.Object
- Author:
- P070518
-
Constructor Summary
Constructors Constructor Description AbstractNWBRoadElement(org.locationtech.jts.geom.Geometry myGeom, OTSNode startNode, OTSNode endNode, java.lang.String roadId, java.lang.Double beginDistance, java.lang.Double endDistance)
-
Method Summary
Modifier and Type Method Description java.lang.Double
getBeginDistance()
java.lang.Double
getEndDistance()
OTSNode
getEndNode()
org.locationtech.jts.geom.Geometry
getMyGeom()
java.lang.String
getRoadId()
OTSNode
getStartNode()
-
Constructor Details
-
AbstractNWBRoadElement
public AbstractNWBRoadElement(org.locationtech.jts.geom.Geometry myGeom, OTSNode startNode, OTSNode endNode, java.lang.String roadId, java.lang.Double beginDistance, java.lang.Double endDistance)- Parameters:
myGeom
- Geometry;startNode
- OTSNode;endNode
- OTSNode;roadId
- String;beginDistance
- Double;endDistance
- Double;
-
-
Method Details
-
getMyGeom
public org.locationtech.jts.geom.Geometry getMyGeom() -
getStartNode
-
getEndNode
-
getRoadId
public java.lang.String getRoadId() -
getBeginDistance
public java.lang.Double getBeginDistance() -
getEndDistance
public java.lang.Double getEndDistance()
-