Uses of Class
org.opentrafficsim.core.geometry.OTSGeometryException
| 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.
|
-
Uses of OTSGeometryException in org.opentrafficsim.core.geometry
Methods in org.opentrafficsim.core.geometry that throw OTSGeometryException Modifier and Type Method Description static org.opentrafficsim.core.geometry.TestIntersectionPerformance.ResultsTestIntersectionPerformance. baseTest(int numShapes, int numVertices, double desiredHitFraction, int numRuns, boolean verbose, int variant)Perform a test.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 OTSShapeOTSShape. createAndCleanOTSShape(List<OTSPoint3D> pointList)Create an OTSLine3D, while cleaning repeating successive points.static OTSShapeOTSShape. createAndCleanOTSShape(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.OTSPoint3DOTSLine3D. get(int i)Return one point of this OTSLine3D.DirectedPointOTSLine3D. getLocation(Length position)Get the location at a position on the line, with its direction.DirectedPointOTSLine3D. getLocationFraction(double fraction)Get the location at a fraction of the line, with its direction.DirectedPointOTSLine3D. getLocationFraction(double fraction, double tolerance)Get the location at a fraction of the line, with its direction.DirectedPointOTSLine3D. getLocationSI(double positionSI)Get the location at a position on the line, with its direction.LengthOTSLine3D. getRadius(double fraction)Returns the directional radius of the line at a given fraction.doubleOTSLine3D. getVertexFraction(int index)Returns the length fraction at the vertex.LengthOTSLine3D. getVertexRadius(int index)Calculates the directional radius at a vertex.static voidBezier. main(String[] args)static voidClothoid. main(String[] args)Demonstrate / test the clothoid methods.static voidIntersectionProblem. main(String[] args)Computed intersection is way off.static voidOTSBufferingJTS. main(String[] args)static voidOTSLine3D. main(String[] args)Test/development code for the fractional helper stuff.static voidOTSShape. main(String[] args)Small test.static voidTestIntersectionPerformance. main(String[] args)Measure the performance.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 offsetAtStart, double offsetAtEnd)Create a line at linearly varying offset from a 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. 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.Constructors in org.opentrafficsim.core.geometry that throw OTSGeometryException Constructor Description OTS2DSet(Rectangle2D boundingBox, double minimumCellSize)Construct an empty OTS2DSet for a rectangular region.OTSLine3D(Path2D path)Construct a new OTSShape (closed shape) from a Path2D.OTSLine3D(List<OTSPoint3D> pointList)Construct a new OTSLine3D from a List<OTSPoint3D>.OTSLine3D(org.locationtech.jts.geom.Coordinate[] coordinates)Construct a new OTSLine3D from an array of Coordinate.OTSLine3D(org.locationtech.jts.geom.Geometry geometry)Construct a new OTSLine3D from a Geometry.OTSLine3D(org.locationtech.jts.geom.LineString lineString)Construct a new OTSLine3D from a LineString.OTSLine3D(OTSPoint3D... points)Construct a new OTSLine3D.OTSShape(Path2D path)Construct a new OTSShape (closed shape) from a Path2D.OTSShape(List<OTSPoint3D> pointList)Construct a new OTSShape (closed shape) from a List<OTSPoint3D>.OTSShape(org.locationtech.jts.geom.Coordinate[] coordinates)Construct a new OTSShape (closed shape) from an array of Coordinate.OTSShape(org.locationtech.jts.geom.Geometry geometry)Construct a new OTSShape (closed shape) from a Geometry.OTSShape(org.locationtech.jts.geom.LineString lineString)Construct a new OTSShape (closed shape) from a LineString.OTSShape(OTSPoint3D... points)Construct a new OTSShape (closed shape). -
Uses of OTSGeometryException in org.opentrafficsim.core.gtu.plan.operational
Methods in org.opentrafficsim.core.gtu.plan.operational that throw OTSGeometryException Modifier and Type Method Description static voidOperationalPlanBuilder. main(String[] args)Test.