Uses of Class
org.opentrafficsim.core.geometry.OTSLine3D
| Package | Description |
|---|---|
| org.opentrafficsim.core.geometry |
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| 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.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 OTSLine3D in org.opentrafficsim.core.geometry
Subclasses of OTSLine3D in org.opentrafficsim.core.geometry Modifier and Type Class Description classOTSShapeCopyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.Methods in org.opentrafficsim.core.geometry that return OTSLine3D Modifier and Type Method Description static OTSLine3DBezier. bezier(int numPoints, OTSPoint3D... points)Construct a Bézier curve of degree n.static OTSLine3DBezier. bezier(OTSPoint3D... points)Construct a Bézier curve of degree n.static OTSLine3DClothoid. clothoid(OTSPoint3D start, Direction startDirection, double startCurvature, double endCurvature, Length length, Length endElevation, int numSegments)Approximate a clothoid.static OTSLine3DClothoid. clothoid(OTSPoint3D start, Direction startDirection, double endCurvature, Length length, Length endElevation, int numSegments)Approximate a clothoid with curvature 0 at start.static OTSLine3DClothoid. clothoid(OTSPoint3D start, Direction startDirection, LinearDensity endCurvature, Length length, Length endElevation, int numSegments)Approximate a clothoid with curvature 0 at start.static OTSLine3DClothoid. clothoid(OTSPoint3D start, Direction startDirection, LinearDensity startCurvature, LinearDensity endCurvature, Length length, Length endElevation, int numSegments)Approximate a clothoid.static OTSLine3DOTSLine3D. concatenate(double toleranceSI, OTSLine3D... lines)Concatenate several OTSLine3D instances.static OTSLine3DOTSLine3D. concatenate(double toleranceSI, OTSLine3D line1, OTSLine3D line2)Concatenate two OTSLine3D instances.static OTSLine3DOTSLine3D. concatenate(OTSLine3D... lines)Concatenate several OTSLine3D instances.static OTSLine3DOTSLine3D. createAndCleanOTSLine3D(List<OTSPoint3D> pointList)Create an OTSLine3D, while cleaning repeating successive points.static OTSLine3DOTSLine3D. createAndCleanOTSLine3D(OTSPoint3D... points)Create an OTSLine3D, while cleaning repeating successive points.static OTSLine3DBezier. 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 OTSLine3DBezier. 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 OTSLine3DBezier. 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 OTSLine3DBezier. cubic(int numPoints, OTSPoint3D start, OTSPoint3D control1, OTSPoint3D control2, OTSPoint3D end)Construct a cubic Bézier curve from start to end with two control points.static OTSLine3DBezier. 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.OTSLine3DOTSLine3D. extract(double start, double end)Create a new OTSLine3D that covers a sub-section of this OTSLine3D.OTSLine3DOTSLine3D. extract(Length start, Length end)Create a new OTSLine3D that covers a sub-section of this OTSLine3D.OTSLine3DOTSLine3D. extractFractional(double start, double end)Construct a new OTSLine3D covering the indicated fraction of this OTSLine3D.OTSLine3DOTSLine3D. noiseFilteredLine(double noiseLevel)Construct a line that is equal to this line except for segments that are shorter than the noiseLevel.OTSLine3DOTSLine3D. noiseFilterRamerDouglasPeuker(double epsilon, boolean useHorizontalDistance)Clean up a list of points that describe a polyLine by removing points that lie within epsilon distance of a more straightened version of the line.static OTSLine3DOTSBufferingJTS. offsetGeometryOLD(OTSLine3D referenceLine, double offset)Generate a Geometry that has a fixed offset from a reference Geometry.static OTSLine3DOTSBufferingJTS. offsetLine(OTSLine3D referenceLine, double offset)Construct parallel line without.static OTSLine3DOTSBufferingJTS. offsetLine(OTSLine3D referenceLine, double offsetAtStart, double offsetAtEnd)Create a line at linearly varying offset from a reference line.OTSLine3DOTSLine3D. offsetLine(double offset)Construct parallel line.
TODO Let the Z-component of the result follow the Z-values of the reference line.OTSLine3DOTSLine3D. offsetLine(double[] relativeFractions, double[] offsets)Create a line at linearly varying offset from this line.OTSLine3DOTSLine3D. offsetLine(double offsetAtStart, double offsetAtEnd)Create a line at linearly varying offset from this line.static OTSLine3DOTSOffsetLinePK. offsetLine(OTSLine3D referenceLine, double offset)Construct an offset line.OTSLine3DOTSLine3D. reverse()Construct a new OTSLine3D with all points of this OTSLine3D in reverse order.OTSLine3DOTSLine3D. truncate(double lengthSI)Truncate a line at the given length (less than the length of the line, and larger than zero) and return a new line.Methods in org.opentrafficsim.core.geometry with parameters of type OTSLine3D Modifier and Type Method Description OTSPoint3DOTSPoint3D. closestPointOnLine(OTSLine3D line)Return the closest point on an OTSLine3D.OTSPoint3DOTSPoint3D. closestPointOnLine2D(OTSLine3D line)Return the closest point on an OTSLine3D.static OTSLine3DOTSLine3D. concatenate(double toleranceSI, OTSLine3D... lines)Concatenate several OTSLine3D instances.static OTSLine3DOTSLine3D. concatenate(double toleranceSI, OTSLine3D line1, OTSLine3D line2)Concatenate two OTSLine3D instances.static OTSLine3DOTSLine3D. concatenate(OTSLine3D... lines)Concatenate several OTSLine3D instances.static OTSLine3DOTSBufferingJTS. offsetGeometryOLD(OTSLine3D referenceLine, double offset)Generate a Geometry that has a fixed offset from a reference Geometry.static OTSLine3DOTSBufferingJTS. offsetLine(OTSLine3D referenceLine, double offset)Construct parallel line without.static OTSLine3DOTSBufferingJTS. offsetLine(OTSLine3D referenceLine, double offsetAtStart, double offsetAtEnd)Create a line at linearly varying offset from a reference line.static OTSLine3DOTSOffsetLinePK. offsetLine(OTSLine3D referenceLine, double offset)Construct an offset line.static StringOTSGeometryUtil. printCoordinates(String prefix, OTSLine3D line, String separator)Print an array of coordinates on the console. -
Uses of OTSLine3D in org.opentrafficsim.core.gtu.plan.operational
Methods in org.opentrafficsim.core.gtu.plan.operational that return OTSLine3D Modifier and Type Method Description OTSLine3DOperationalPlan. getPath()Return the path that will be traveled.Methods in org.opentrafficsim.core.gtu.plan.operational with parameters of type OTSLine3D Modifier and Type Method Description static OperationalPlanOperationalPlanBuilder. buildConstantSpeedPlan(GTU gtu, OTSLine3D path, Time startTime, Speed speed)Build a plan with a path and a given speed.static OperationalPlanOperationalPlanBuilder. buildGradualAccelerationPlan(GTU gtu, OTSLine3D path, Time startTime, Speed startSpeed, Speed endSpeed)Build a plan with a path and a given start speed to reach a provided end speed, exactly at the end of the curve.static OperationalPlanOperationalPlanBuilder. buildGradualAccelerationPlan(GTU gtu, OTSLine3D path, Time startTime, Speed startSpeed, Speed endSpeed, Acceleration maxAcceleration, Acceleration maxDeceleration)Build a plan with a path and a given start speed to try to reach a provided end speed, exactly at the end of the curve.static OperationalPlanOperationalPlanBuilder. buildMaximumAccelerationPlan(GTU gtu, OTSLine3D path, Time startTime, Speed startSpeed, Speed endSpeed, Acceleration acceleration, Acceleration deceleration)Build a plan with a path and a given start speed to try to reach a provided end speed.static OperationalPlanOperationalPlanBuilder. buildStopPlan(GTU gtu, OTSLine3D path, Time startTime, Speed startSpeed, Acceleration deceleration)Build a plan with a path and a given start speed to try to come to a stop with a given deceleration.Constructors in org.opentrafficsim.core.gtu.plan.operational with parameters of type OTSLine3D Constructor Description OperationalPlan(GTU gtu, OTSLine3D path, Time startTime, Speed startSpeed, List<OperationalPlan.Segment> operationalPlanSegmentList)Construct an operational plan. -
Uses of OTSLine3D in org.opentrafficsim.core.network
Methods in org.opentrafficsim.core.network that return OTSLine3D Modifier and Type Method Description OTSLine3DLink. getDesignLine()OTSLine3DOTSLink. getDesignLine()Constructors in org.opentrafficsim.core.network with parameters of type OTSLine3D Constructor Description CapacityOTSLink(Network network, String id, Node startNode, Node endNode, LinkType linkType, OTSLine3D designLine, OTSSimulatorInterface simulator, Frequency capacity)Construct a new link.OTSLink(Network network, String id, Node startNode, Node endNode, LinkType linkType, OTSLine3D designLine, OTSSimulatorInterface simulator)Construct a new link. -
Uses of OTSLine3D in org.opentrafficsim.core.object
Methods in org.opentrafficsim.core.object that return OTSLine3D Modifier and Type Method Description OTSLine3DObjectInterface. getGeometry()OTSLine3DStaticObject. getGeometry()Constructors in org.opentrafficsim.core.object with parameters of type OTSLine3D Constructor Description StaticObject(String id, OTSLine3D geometry)StaticObject(String id, OTSLine3D geometry, Length height)