Uses of Class
org.opentrafficsim.core.geometry.DirectedPoint
-
Packages that use DirectedPoint Package Description org.opentrafficsim.core.geometry Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.org.opentrafficsim.core.gtu GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.org.opentrafficsim.core.gtu.plan.operational Operational plans describe a path through the world with a speed profile that a GTU intends to follow.org.opentrafficsim.core.gtu.plan.tactical Tactical planners generate operational plans that are in line with reaching the goals of the strategical plan.org.opentrafficsim.core.network Classes that build a network with nodes, links, and cross-sections.org.opentrafficsim.core.object Static objects that the GTU might have to avoid. -
-
Uses of DirectedPoint in org.opentrafficsim.core.geometry
Methods in org.opentrafficsim.core.geometry that return DirectedPoint Modifier and Type Method Description DirectedPoint
OTSPoint3D. getDirectedPoint()
DirectedPoint
OTSLine3D. getLocation()
DirectedPoint
OTSLine3D. getLocation(Length position)
Get the location at a position on the line, with its direction.DirectedPoint
OTSPoint3D. getLocation()
DirectedPoint
OTSLine3D. getLocationExtended(Length position)
Get the location at a position on the line, with its direction.DirectedPoint
OTSLine3D. getLocationExtendedSI(double positionSI)
Get the location at a position on the line, with its direction.DirectedPoint
OTSLine3D. getLocationFraction(double fraction)
Get the location at a fraction of the line, with its direction.DirectedPoint
OTSLine3D. getLocationFraction(double fraction, double tolerance)
Get the location at a fraction of the line, with its direction.DirectedPoint
OTSLine3D. getLocationFractionExtended(double fraction)
Get the location at a fraction of the line (or outside the line), with its direction.DirectedPoint
OTSLine3D. getLocationSI(double positionSI)
Get the location at a position on the line, with its direction.Methods in org.opentrafficsim.core.geometry with parameters of type DirectedPoint Modifier and Type Method Description static OTSLine3D
Bezier. cubic(int numPoints, DirectedPoint start, DirectedPoint end)
Construct a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.static OTSLine3D
Bezier. cubic(int numPoints, DirectedPoint start, DirectedPoint end, double shape)
Construct a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.static OTSLine3D
Bezier. cubic(int numPoints, DirectedPoint start, DirectedPoint end, double shape, boolean weighted)
Construct a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.static OTSLine3D
Bezier. cubic(DirectedPoint start, DirectedPoint end)
Construct a cubic Bézier curve from start to end with two generated control points at half the distance between start and end.static Direction
OTSPoint3D. direction(DirectedPoint directedPoint, DirectionUnit directionUnit)
Construct a Direction from the rotZ component of a DirectedPoint.Constructors in org.opentrafficsim.core.geometry with parameters of type DirectedPoint Constructor Description OTSPoint3D(DirectedPoint point)
-
Uses of DirectedPoint in org.opentrafficsim.core.gtu
Methods in org.opentrafficsim.core.gtu that return DirectedPoint Modifier and Type Method Description DirectedPoint
AbstractGTU. getLocation()
DirectedPoint
GTU. getLocation()
Methods in org.opentrafficsim.core.gtu with parameters of type DirectedPoint Modifier and Type Method Description void
AbstractGTU. init(StrategicalPlanner strategicalPlanner, DirectedPoint initialLocation, Speed initialSpeed)
Initialize the GTU at a location and speed, and give it a mission to fulfill through the strategical planner.protected boolean
AbstractGTU. move(DirectedPoint fromLocation)
Move from the current location according to an operational plan to a location that will bring us nearer to reaching the location provided by the strategical planner. -
Uses of DirectedPoint in org.opentrafficsim.core.gtu.plan.operational
Methods in org.opentrafficsim.core.gtu.plan.operational that return DirectedPoint Modifier and Type Method Description DirectedPoint
OperationalPlan. getEndLocation()
Provide the end location of this operational plan as a DirectedPoint.DirectedPoint
OperationalPlan. getLocation(Duration time)
Calculate the location after the given duration since the start of the plan.DirectedPoint
OperationalPlan. getLocation(Time time)
Calculate the location at the given time.DirectedPoint
OperationalPlan. getLocation(Time time, RelativePosition pos)
Calculate the location after the given duration since the start of the plan.Methods in org.opentrafficsim.core.gtu.plan.operational with parameters of type DirectedPoint Modifier and Type Method Description Time
OperationalPlan. timeAtPoint(DirectedPoint point, boolean upstream)
Calculates when the GTU will be at the given point.Constructors in org.opentrafficsim.core.gtu.plan.operational with parameters of type DirectedPoint Constructor Description OperationalPlan(GTU gtu, DirectedPoint waitPoint, Time startTime, Duration duration)
Build a plan where the GTU will wait for a certain time. -
Uses of DirectedPoint in org.opentrafficsim.core.gtu.plan.tactical
Methods in org.opentrafficsim.core.gtu.plan.tactical with parameters of type DirectedPoint Modifier and Type Method Description OperationalPlan
TacticalPlanner. generateOperationalPlan(Time startTime, DirectedPoint locationAtStartTime)
generate an operational plan, for now or for in the future. -
Uses of DirectedPoint in org.opentrafficsim.core.network
Methods in org.opentrafficsim.core.network that return DirectedPoint Modifier and Type Method Description DirectedPoint
Node. getLocation()
DirectedPoint
OTSLink. getLocation()
DirectedPoint
OTSNode. getLocation()
-
Uses of DirectedPoint in org.opentrafficsim.core.object
Methods in org.opentrafficsim.core.object that return DirectedPoint Modifier and Type Method Description DirectedPoint
StaticObject. getLocation()
-