| Package | Description |
|---|---|
| org.opentrafficsim.core.geometry |
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
| org.opentrafficsim.core.network.animation |
Animation for Links, Lanes, Nodes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
OTSPolygon3D
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Modifier and Type | Method and Description |
|---|---|
static OTSLine3D |
Clothoid.clothoid(OTSPoint3D start,
org.djunits.value.vdouble.scalar.Angle.Abs startDirection,
double startCurvature,
double endCurvature,
org.djunits.value.vdouble.scalar.Length.Rel length,
org.djunits.value.vdouble.scalar.Length.Rel endElevation,
int numSegments)
Approximate a clothoid.
|
static OTSLine3D |
Clothoid.clothoid(OTSPoint3D start,
org.djunits.value.vdouble.scalar.Angle.Abs startDirection,
double endCurvature,
org.djunits.value.vdouble.scalar.Length.Rel length,
org.djunits.value.vdouble.scalar.Length.Rel endElevation,
int numSegments)
Approximate a clothoid with curvature 0 at start.
|
static OTSLine3D |
Clothoid.clothoid(OTSPoint3D start,
org.djunits.value.vdouble.scalar.Angle.Abs startDirection,
org.djunits.value.vdouble.scalar.LinearDensity endCurvature,
org.djunits.value.vdouble.scalar.Length.Rel length,
org.djunits.value.vdouble.scalar.Length.Rel endElevation,
int numSegments)
Approximate a clothoid with curvature 0 at start.
|
static OTSLine3D |
Clothoid.clothoid(OTSPoint3D start,
org.djunits.value.vdouble.scalar.Angle.Abs startDirection,
org.djunits.value.vdouble.scalar.LinearDensity startCurvature,
org.djunits.value.vdouble.scalar.LinearDensity endCurvature,
org.djunits.value.vdouble.scalar.Length.Rel length,
org.djunits.value.vdouble.scalar.Length.Rel endElevation,
int numSegments)
Approximate a clothoid.
|
static OTSLine3D |
OTSLine3D.createAndCleanOTSLine3D(OTSPoint3D[] points)
Create an OTSLine3D, while cleaning repeating successive points.
|
static OTSLine3D |
OTSBuffering.offsetGeometry(OTSLine3D referenceLine,
double offset)
Generate a Geometry that has a fixed offset from a reference Geometry.
|
static OTSLine3D |
OTSBuffering.offsetLine(OTSLine3D referenceLine,
double offsetAtStart,
double offsetAtEnd)
Create the Geometry of a line at offset from a reference line.
|
| Modifier and Type | Method and Description |
|---|---|
static OTSLine3D |
OTSBuffering.offsetGeometry(OTSLine3D referenceLine,
double offset)
Generate a Geometry that has a fixed offset from a reference Geometry.
|
static OTSLine3D |
OTSBuffering.offsetLine(OTSLine3D referenceLine,
double offsetAtStart,
double offsetAtEnd)
Create the Geometry of a line at offset from a reference line.
|
static String |
OTSGeometry.printCoordinates(String prefix,
OTSLine3D line,
String separator)
Print an array of coordinates on the console.
|
| Modifier and Type | Method and Description |
|---|---|
OTSLine3D |
OTSLink.getDesignLine() |
OTSLine3D |
Link.getDesignLine() |
| Constructor and Description |
|---|
CapacityOTSLink(String id,
OTSNode startNode,
OTSNode endNode,
LinkType linkType,
OTSLine3D designLine,
org.djunits.value.vdouble.scalar.Frequency capacity,
LongitudinalDirectionality directionality)
Construct a new link, with a directionality for all GTUs as provided.
|
CapacityOTSLink(String id,
OTSNode startNode,
OTSNode endNode,
LinkType linkType,
OTSLine3D designLine,
org.djunits.value.vdouble.scalar.Frequency capacity,
Map<GTUType,LongitudinalDirectionality> directionalityMap)
Construct a new link.
|
OTSLink(String id,
OTSNode startNode,
OTSNode endNode,
LinkType linkType,
OTSLine3D designLine,
LongitudinalDirectionality directionality)
Construct a new link, with a directionality for all GTUs as provided.
|
OTSLink(String id,
OTSNode startNode,
OTSNode endNode,
LinkType linkType,
OTSLine3D designLine,
Map<GTUType,LongitudinalDirectionality> directionalityMap)
Construct a new link.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PaintPolygons.paintMultiPolygon(Graphics2D graphics,
Color color,
DirectedPoint referencePoint,
OTSLine3D line)
Paint (fill) a polygon or a series of polygons.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.