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.DoublegetBeginDistance()java.lang.DoublegetEndDistance()OTSNodegetEndNode()org.locationtech.jts.geom.GeometrygetMyGeom()java.lang.StringgetRoadId()OTSNodegetStartNode()
-
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()
-