Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

A - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Maximum (desired) car-following acceleration.
accept(Number) - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound.Bound
Returns true if the bound accepts the value.
accept(Number) - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound.LowerBoundExclusive
 
accept(Number) - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound.LowerBoundInclusive
 
accept(Number) - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound.UpperBoundExclusive
 
accept(Number) - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound.UpperBoundInclusive
 
accept(Collection<T>) - Method in class org.opentrafficsim.base.parameters.constraint.SubCollectionConstraint
 
accept(T) - Method in class org.opentrafficsim.base.parameters.constraint.CollectionConstraint
 
accept(T) - Method in interface org.opentrafficsim.base.parameters.constraint.Constraint
Checks whether the value complies with constraints.
accept(T) - Method in class org.opentrafficsim.base.parameters.constraint.DualBound
 
accept(T) - Method in class org.opentrafficsim.base.parameters.constraint.MultiConstraint
 
accept(T) - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound
 
asPolygon() - Method in class org.opentrafficsim.base.geometry.CircleShape
 
asPolygon() - Method in class org.opentrafficsim.base.geometry.OffsetRectangleShape
 
asPolygon() - Method in interface org.opentrafficsim.base.geometry.OtsShape
Returns a polygon representation of the bounds, such that an intersection can be derived.
asPolygon() - Method in class org.opentrafficsim.base.geometry.PolygonShape
 
asPolygon() - Method in class org.opentrafficsim.base.geometry.RectangleShape
 
asPolygon() - Method in class org.opentrafficsim.base.geometry.RoundedRectangleShape
 
ATLEASTONE - Enum constant in enum class org.opentrafficsim.base.parameters.constraint.NumericConstraint
Checks for ≥1.
ATLEASTONE - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
 

B

B - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Maximum comfortable car-following deceleration.
B0 - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Maximum adjustment deceleration, e.g. when speed limit drops.
BASE - Static variable in class org.opentrafficsim.base.logger.Cat
BASE project.
BCRIT - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Maximum critical deceleration, e.g. stop/go at traffic light.
bound - Variable in class org.opentrafficsim.base.parameters.constraint.SingleBound.Bound
Value of the bound.
Bound(Number, String) - Constructor for class org.opentrafficsim.base.parameters.constraint.SingleBound.Bound
Constructor.
boundsAsContour(OtsLocatable) - Static method in interface org.opentrafficsim.base.geometry.OtsLocatable
Generates a polygon as contour based on bounds and location of the locatable.

C

Cat - Class in org.opentrafficsim.base.logger
Predefined categories for Category logging.
CENTER - Static variable in interface org.opentrafficsim.base.geometry.OtsShape
Standard mid point.
check(int, Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeInteger
Method to overwrite for checks with constraints.
check(T, Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterType
Default implementation of check method.
checkConstraint(T) - Method in class org.opentrafficsim.base.parameters.ParameterType
Check that a value complies with the constraint of this AbstractParameterType.
CircleShape - Class in org.opentrafficsim.base.geometry
Shape defined by a circle.
CircleShape(double) - Constructor for class org.opentrafficsim.base.geometry.CircleShape
Constructor.
CircleShape(double, int) - Constructor for class org.opentrafficsim.base.geometry.CircleShape
Constructor.
ClassCollectionConstraint<T> - Class in org.opentrafficsim.base.parameters.constraint
Constraint that checks whether a collection of classes is a sub collection of constraint collection.
ClassConstraint<T> - Class in org.opentrafficsim.base.parameters.constraint
Constraint that checks whether the value is any of a given collection of classes, where each class is a sub class of a given type.
classHashcode - Variable in class org.opentrafficsim.base.parameters.constraint.SingleBound.Bound
Hashcode of the value class.
closed(double, double) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
Creates a dual bound including the bounds; lowerBound <= value <= upperBound.
closed(T, T) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
Creates a dual bound including the bounds; lowerBound <= value <= upperBound.
CollectionConstraint<T> - Class in org.opentrafficsim.base.parameters.constraint
Constraint that checks whether a value is in a given constraint collection.
CollectionConstraint(Collection<T>) - Constructor for class org.opentrafficsim.base.parameters.constraint.CollectionConstraint
Constructor.
color() - Method in record class org.opentrafficsim.base.StripeElement
Returns the value of the color record component.
commonAncestor(T) - Method in class org.opentrafficsim.base.HierarchicalType
Returns the common ancestor of both types.
concatenate(double, OtsLine2d...) - Static method in class org.opentrafficsim.base.geometry.OtsLine2d
Concatenate several OtsLine2d instances.
concatenate(double, OtsLine2d, OtsLine2d) - Static method in class org.opentrafficsim.base.geometry.OtsLine2d
Concatenate two OtsLine2d instances.
concatenate(OtsLine2d...) - Static method in class org.opentrafficsim.base.geometry.OtsLine2d
Concatenate several OtsLine2d instances.
Constraint<T> - Interface in org.opentrafficsim.base.parameters.constraint
Interface for a parameter constraint.
ConstraintInterface - Interface in org.opentrafficsim.base.parameters.constraint
In order to define default constraints within a Parameter Type, an enum is available.
contains(double, double) - Method in class org.opentrafficsim.base.geometry.CircleShape
 
contains(double, double) - Method in class org.opentrafficsim.base.geometry.OffsetRectangleShape
 
contains(double, double) - Method in interface org.opentrafficsim.base.geometry.OtsShape
Check if a point is contained in this OtsShape.
contains(double, double) - Method in class org.opentrafficsim.base.geometry.RectangleShape
 
contains(double, double) - Method in class org.opentrafficsim.base.geometry.RoundedRectangleShape
 
contains(Point2d) - Method in class org.opentrafficsim.base.geometry.CircleShape
 
contains(Point2d) - Method in interface org.opentrafficsim.base.geometry.OtsShape
Check if a point is contained in this OtsShape.
contains(Point2d) - Method in class org.opentrafficsim.base.geometry.RoundedRectangleShape
 
contains(ParameterType<?>) - Method in interface org.opentrafficsim.base.parameters.Parameters
Indicate whether the given parameter type has been set.
contains(ParameterType<?>) - Method in class org.opentrafficsim.base.parameters.ParameterSet
 
continuous(Length, Color) - Static method in record class org.opentrafficsim.base.StripeElement
Creates a continuous stripe element.
contourAsBounds(OtsLocatable) - Static method in interface org.opentrafficsim.base.geometry.OtsLocatable
Generates bounds based on polygon and location of the locatable.
CORE - Static variable in class org.opentrafficsim.base.logger.Cat
CORE project.
create(Constraint<? super T>...) - Static method in class org.opentrafficsim.base.parameters.constraint.MultiConstraint
Creates a MultiConstraint from given constraints.

D

dashed(Length, Color, LengthVector) - Static method in record class org.opentrafficsim.base.StripeElement
Creates a dashed stripe element.
dashes() - Method in record class org.opentrafficsim.base.StripeElement
Returns the value of the dashes record component.
DEFAULT_POLYGON_SEGMENTS - Static variable in interface org.opentrafficsim.base.geometry.OtsShape
Default number of segments in polygon.
defaultValue - Variable in class org.opentrafficsim.base.parameters.ParameterType
Default value.
directionalOffsetLine(double) - Method in class org.opentrafficsim.base.geometry.DirectionalPolyLine
Returns line at a fixed offset, adhering to end-point directions.
directionalOffsetLine(double, double) - Method in class org.opentrafficsim.base.geometry.DirectionalPolyLine
Returns line at a fixed offset, adhering to end-point directions.
DirectionalPolyLine - Class in org.opentrafficsim.base.geometry
Adds a direction at the start and end point relative to its super class OtsLine2d, as the first and last segment may not have the same direction as a theoretical line the segments are a numerical approach of.
DirectionalPolyLine(PolyLine2d, Direction, Direction) - Constructor for class org.opentrafficsim.base.geometry.DirectionalPolyLine
Constructor.
DT - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Fixed model time step.
DualBound<T extends Number> - Class in org.opentrafficsim.base.parameters.constraint
Continuous constraints with a dual bound.
DynamicSpatialObject - Interface in org.opentrafficsim.base.geometry
DynamicSpatialObject has two shapes: the shape that is registered in the Map is the shape that indicates where the object can be present for the time frame for which intersections can be calculated.

E

ENDPOINT - Enum constant in enum class org.opentrafficsim.base.geometry.OtsLine2d.FractionalFallback
Distance to nearest end point.
equals(Object) - Method in class org.opentrafficsim.base.HierarchicalType
 
equals(Object) - Method in class org.opentrafficsim.base.parameters.ParameterType
 
equals(Object) - Method in record class org.opentrafficsim.base.StripeElement
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.opentrafficsim.base.TimeStampedObject
Indicates whether some other object is "equal to" this one.
extract(double, double) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Create a new OtsLine2d that covers a sub-section of this OtsLine2d.
extract(Length, Length) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Create a new OtsLine2d that covers a sub-section of this OtsLine2d.
extractFractional(double, double) - Method in class org.opentrafficsim.base.geometry.DirectionalPolyLine
 
extractFractional(double, double) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Construct a new OtsLine2d covering the indicated fraction of this OtsLine2d.

F

failMessage() - Method in class org.opentrafficsim.base.parameters.constraint.CollectionConstraint
 
failMessage() - Method in interface org.opentrafficsim.base.parameters.constraint.Constraint
Returns a message for value failure, pointing to a parameter using '%s'.
failMessage() - Method in class org.opentrafficsim.base.parameters.constraint.MultiConstraint
 
failMessage() - Method in enum class org.opentrafficsim.base.parameters.constraint.NumericConstraint
 
failMessage() - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound
 
failMessage() - Method in class org.opentrafficsim.base.parameters.constraint.SubCollectionConstraint
 
FSPEED - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Speed limit adherence factor.

G

gap(Length) - Static method in record class org.opentrafficsim.base.StripeElement
Creates a gap stripe element.
getBound() - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound
Returns the bound.
getBounds() - Method in interface org.opentrafficsim.base.geometry.OtsLocatable
Returns the bounds relative to the location.
getCentroid() - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Retrieve the centroid of this OtsLine2d.
getChildren() - Method in class org.opentrafficsim.base.HierarchicalType
Return the children of this hierarchical type.
getConstraint() - Method in class org.opentrafficsim.base.parameters.ParameterType
Retrieve the constraint.
getContour() - Method in interface org.opentrafficsim.base.geometry.SpatialObject
Returns the contour of the object in world coordinates.
getContour(Time) - Method in interface org.opentrafficsim.base.geometry.DynamicSpatialObject
Return the contour of a dynamic object at time 'time' in world coordinates.
getDefaultValue() - Method in class org.opentrafficsim.base.parameters.ParameterType
Retrieve the the default value of this AbstractParameterType.
getDeltaX() - Method in interface org.opentrafficsim.base.geometry.OtsShape
Return the extent of this Bounds2d in the x-direction.
getDeltaY() - Method in interface org.opentrafficsim.base.geometry.OtsShape
Return the extent of this Bounds2d in the y-direction.
getDescription() - Method in class org.opentrafficsim.base.parameters.ParameterType
Retrieve the description of this AbstractParameterType.
getEndDirection() - Method in class org.opentrafficsim.base.geometry.DirectionalPolyLine
Returns the end direction.
getFraction(OtsLine2d, double, double) - Method in enum class org.opentrafficsim.base.geometry.OtsLine2d.FractionalFallback
Returns fraction for when fractional projection fails as the point is beyond the line or from numerical limitations.
getId() - Method in class org.opentrafficsim.base.HierarchicalType
 
getId() - Method in class org.opentrafficsim.base.parameters.ParameterType
Retrieve the id of this AbstractParameterType.
getLocation() - Method in class org.opentrafficsim.base.geometry.OtsLine2d
 
getLocation() - Method in interface org.opentrafficsim.base.geometry.OtsLocatable
 
getLocation(Length) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Get the location at a position on the line, with its direction.
getLocationExtended(Length) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Get the location at a position on the line, with its direction.
getLocationExtendedSI(double) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Get the location at a position on the line, with its direction.
getLocationFraction(double) - Method in class org.opentrafficsim.base.geometry.DirectionalPolyLine
 
getLocationPointFraction(double) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Get the location at a fraction of the line, with its direction.
getLocationPointFraction(double, double) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Get the location at a fraction of the line, with its direction.
getLocationPointFractionExtended(double) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Get the location at a fraction of the line (or outside the line), with its direction.
getLocationSI(double) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Get the location at a position on the line, with its direction.
getMaxX() - Method in class org.opentrafficsim.base.geometry.CircleShape
 
getMaxX() - Method in class org.opentrafficsim.base.geometry.OffsetRectangleShape
 
getMaxX() - Method in interface org.opentrafficsim.base.geometry.OtsShape
Return the absolute upper bound for x.
getMaxX() - Method in class org.opentrafficsim.base.geometry.RectangleShape
 
getMaxX() - Method in class org.opentrafficsim.base.geometry.RoundedRectangleShape
 
getMaxY() - Method in class org.opentrafficsim.base.geometry.CircleShape
 
getMaxY() - Method in class org.opentrafficsim.base.geometry.OffsetRectangleShape
 
getMaxY() - Method in interface org.opentrafficsim.base.geometry.OtsShape
Return the absolute upper bound for y.
getMaxY() - Method in class org.opentrafficsim.base.geometry.RectangleShape
 
getMaxY() - Method in class org.opentrafficsim.base.geometry.RoundedRectangleShape
 
getMinX() - Method in class org.opentrafficsim.base.geometry.CircleShape
 
getMinX() - Method in class org.opentrafficsim.base.geometry.OffsetRectangleShape
 
getMinX() - Method in interface org.opentrafficsim.base.geometry.OtsShape
Return the absolute lower bound for x.
getMinX() - Method in class org.opentrafficsim.base.geometry.RectangleShape
 
getMinX() - Method in class org.opentrafficsim.base.geometry.RoundedRectangleShape
 
getMinY() - Method in class org.opentrafficsim.base.geometry.CircleShape
 
getMinY() - Method in class org.opentrafficsim.base.geometry.OffsetRectangleShape
 
getMinY() - Method in interface org.opentrafficsim.base.geometry.OtsShape
Return the absolute lower bound for y.
getMinY() - Method in class org.opentrafficsim.base.geometry.RectangleShape
 
getMinY() - Method in class org.opentrafficsim.base.geometry.RoundedRectangleShape
 
getNumSegmentsForRadius(double, Angle, double) - Static method in class org.opentrafficsim.base.geometry.OtsGeometryUtil
Returns the number of segments to use for a given maximum spatial error, and radius.
getParameter(ParameterType<T>) - Method in interface org.opentrafficsim.base.parameters.Parameters
Get parameter of given type.
getParameter(ParameterType<T>) - Method in class org.opentrafficsim.base.parameters.ParameterSet
 
getParameterOrNull(ParameterType<T>) - Method in interface org.opentrafficsim.base.parameters.Parameters
Returns a parameter value, or null if not present.
getParameterOrNull(ParameterType<T>) - Method in class org.opentrafficsim.base.parameters.ParameterSet
 
getParameters() - Method in class org.opentrafficsim.base.parameters.ParameterSet
Returns a safe copy of the parameters.
getParent() - Method in class org.opentrafficsim.base.HierarchicalType
Return the parent of this type, or null when no parent was identified.
getProjectedRadius(double) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Returns the projected directional radius of the line at a given fraction.
getProjectedVertexRadius(int) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Calculates the directional radius at a vertex.
getResourceAsStream(String) - Static method in class org.opentrafficsim.base.Resource
Obtains stream for resource, either in IDE or java.
getResourceAsUri(String) - Static method in class org.opentrafficsim.base.Resource
Obtains URI for resource, either in IDE or java.
getShape() - Method in interface org.opentrafficsim.base.geometry.OtsLocatable
Returns the shape relative to the location.
getStartDirection() - Method in class org.opentrafficsim.base.geometry.DirectionalPolyLine
Returns the start direction.
getType() - Method in interface org.opentrafficsim.base.HierarchicallyTyped
Return the assigned type of the typed object.
getTypedLength() - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Return the length of this OtsLine2d in meters.
getValueClass() - Method in class org.opentrafficsim.base.parameters.ParameterType
Retrieve the class of the value of this AbstractParameterType.
getValueClass(Class<T>) - Static method in class org.opentrafficsim.base.parameters.ParameterTypeClassList
Returns a typed class, where the type is List<Class<? extends T>>, such that ParameterTypeClass instances can easily be created.
getVertexFraction(int) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Returns the length fraction at the vertex.

H

hasDefaultValue() - Method in class org.opentrafficsim.base.parameters.ParameterType
Returns whether this parameter type has a default value.
hashCode() - Method in class org.opentrafficsim.base.HierarchicalType
 
hashCode() - Method in class org.opentrafficsim.base.parameters.ParameterType
 
hashCode() - Method in record class org.opentrafficsim.base.StripeElement
Returns a hash code value for this object.
hashCode() - Method in record class org.opentrafficsim.base.TimeStampedObject
Returns a hash code value for this object.
HierarchicallyTyped<T extends HierarchicalType<T,I>,I extends HierarchicallyTyped<T,I>> - Interface in org.opentrafficsim.base
HierarchicallyTyped is the interface of objects that are of a HierarchicalType.
HierarchicalType<T extends HierarchicalType<T,I>,I extends HierarchicallyTyped<T,I>> - Class in org.opentrafficsim.base
Super class for types with hierarchical structure.
HierarchicalType(String) - Constructor for class org.opentrafficsim.base.HierarchicalType
Constructor for creating the top level types in subclasses.
HierarchicalType(String, T) - Constructor for class org.opentrafficsim.base.HierarchicalType
Constructor that creates a hierarchical type including a link to a parent type.

I

isContinuous() - Method in record class org.opentrafficsim.base.StripeElement
Returns whether this is a continuous stripe element (i.e. a line without dashes).
isDashed() - Method in record class org.opentrafficsim.base.StripeElement
Returns whether this is a dashed stripe element.
isGap() - Method in record class org.opentrafficsim.base.StripeElement
Returns whether this is a gap stripe element.
isLinkBased() - Method in enum class org.opentrafficsim.base.StripeElement.StripeLateralSync
Returns whether the dashes are applied on the median line of the link.
isOfType(T) - Method in interface org.opentrafficsim.base.HierarchicallyTyped
Return whether the object if has type 'type', or one of the subtypes of 'type'.
isOfType(T) - Method in class org.opentrafficsim.base.HierarchicalType
Whether this, or any of the parent types, equals the given type.
isType(T) - Method in interface org.opentrafficsim.base.Type
Returns whether this type is the same type as the given type.

L

LCDUR - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Regular lane change duration.
leftClosedRightOpen(double, double) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
Creates a dual bound including the lower bound and excluding the upper bound; lowerBound <= value < upperBound.
leftClosedRightOpen(T, T) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
Creates a dual bound including the lower bound and excluding the upper bound; lowerBound <= value < upperBound.
leftOpenRightClosed(double, double) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
Creates a dual bound excluding the lower bound and including the upper bound; lowerBound < value <= upperBound.
leftOpenRightClosed(T, T) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
Creates a dual bound excluding the lower bound and including the upper bound; lowerBound < value <= upperBound.
LINK - Enum constant in enum class org.opentrafficsim.base.StripeElement.StripeLateralSync
Dashes applied to link middle line to determine fractions, which are then used on the stripe line.
LOOKAHEAD - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Look-ahead distance.
LOOKBACK - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Look-back distance.
LOOKBACKOLD - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Look-back distance, for old MOBIL code only.
LowerBoundExclusive(T) - Constructor for class org.opentrafficsim.base.parameters.constraint.SingleBound.LowerBoundExclusive
Constructor.
LowerBoundInclusive(T) - Constructor for class org.opentrafficsim.base.parameters.constraint.SingleBound.LowerBoundInclusive
Constructor.
lowerExclusive(double) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
Creates a lower exclusive bound; value > bound.
lowerExclusive(T) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
Creates a lower exclusive bound; value > bound.
lowerInclusive(double) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
Creates a lower inclusive bound; value >= bound.
lowerInclusive(T) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
Creates a lower inclusive bound; value >= bound.

M

midPoint() - Method in class org.opentrafficsim.base.geometry.OffsetRectangleShape
 
midPoint() - Method in interface org.opentrafficsim.base.geometry.OtsShape
Return the mid point of this Bounds object.
MultiConstraint<T> - Class in org.opentrafficsim.base.parameters.constraint
Constraint containing multiple constraints.
MultiConstraint(Set<Constraint<? super T>>) - Constructor for class org.opentrafficsim.base.parameters.constraint.MultiConstraint
Constructor.

N

NaN - Enum constant in enum class org.opentrafficsim.base.geometry.OtsLine2d.FractionalFallback
NaN value.
NEGATIVE - Enum constant in enum class org.opentrafficsim.base.parameters.constraint.NumericConstraint
Checks for <0.
NEGATIVE - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
 
NEGATIVEZERO - Enum constant in enum class org.opentrafficsim.base.parameters.constraint.NumericConstraint
Checks for ≤0.
NEGATIVEZERO - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
 
newInstance(Class<? extends T>...) - Static method in class org.opentrafficsim.base.parameters.constraint.ClassCollectionConstraint
Creates a new instance with given collection.
newInstance(Class<? extends T>...) - Static method in class org.opentrafficsim.base.parameters.constraint.ClassConstraint
Creates a new instance with given collection.
newInstance(T...) - Static method in class org.opentrafficsim.base.parameters.constraint.CollectionConstraint
Creates a new instance with given objects.
newInstance(T...) - Static method in class org.opentrafficsim.base.parameters.constraint.SubCollectionConstraint
Creates a new instance with given collection.
NONE - Enum constant in enum class org.opentrafficsim.base.StripeElement.StripeLateralSync
Dashes applied to stripe line.
NONZERO - Enum constant in enum class org.opentrafficsim.base.parameters.constraint.NumericConstraint
Checks for ≠0.
NONZERO - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
 
NumericConstraint - Enum Class in org.opentrafficsim.base.parameters.constraint
List of default constraint for ParameterTypes.

O

object() - Method in record class org.opentrafficsim.base.TimeStampedObject
Returns the value of the object record component.
objects - Variable in class org.opentrafficsim.base.parameters.constraint.CollectionConstraint
Acceptable objects.
objects - Variable in class org.opentrafficsim.base.parameters.constraint.SubCollectionConstraint
Acceptable objects.
offsetLine(double) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Construct parallel line.
offsetLine(double[], double[]) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Create a line at linearly varying offset from this line.
offsetLine(double, double) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Create a line at linearly varying offset from this line.
offsetLine(PolyLine2d, double[], double[]) - Static method in class org.opentrafficsim.base.geometry.OtsGeometryUtil
Create a line at linearly varying offset from this line.
offsetPoint(OrientedPoint2d, double) - Static method in class org.opentrafficsim.base.geometry.OtsGeometryUtil
Returns a point on a line through the given point, perpendicular to the given direction, at the offset distance.
OffsetRectangleShape - Class in org.opentrafficsim.base.geometry
Shape defined by an offset rectangle.
OffsetRectangleShape(double, double, double, double) - Constructor for class org.opentrafficsim.base.geometry.OffsetRectangleShape
Constructor.
open(double, double) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
Creates a dual bound excluding the bounds; lowerBound < value < upperBound.
open(T, T) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
Creates a dual bound excluding the bounds; lowerBound < value < upperBound.
org.opentrafficsim.base - package org.opentrafficsim.base
Generic classes for entire OTS project.
org.opentrafficsim.base.geometry - package org.opentrafficsim.base.geometry
OTS specific geometry functionality.
org.opentrafficsim.base.logger - package org.opentrafficsim.base.logger
Logger package for simulator-aware CategoryLogger.
org.opentrafficsim.base.parameters - package org.opentrafficsim.base.parameters
Classes to define parameter types and store their values.
org.opentrafficsim.base.parameters.constraint - package org.opentrafficsim.base.parameters.constraint
Constraints of parameters.
ORTHOGONAL - Enum constant in enum class org.opentrafficsim.base.geometry.OtsLine2d.FractionalFallback
Orthogonal projection.
OtsException - Exception in org.opentrafficsim.base
OtsException is a generic exception for the OTS project.
OtsException() - Constructor for exception org.opentrafficsim.base.OtsException
Create an exception without a message.
OtsException(String) - Constructor for exception org.opentrafficsim.base.OtsException
Create an exception with a message.
OtsException(String, Throwable) - Constructor for exception org.opentrafficsim.base.OtsException
Create an exception with an underlying cause and a message.
OtsException(Throwable) - Constructor for exception org.opentrafficsim.base.OtsException
Create an exception with an underlying cause.
OtsGeometryException - Exception in org.opentrafficsim.base.geometry
Exception when geometry is incorrectly specified or an operation is requested that is not possible.
OtsGeometryException() - Constructor for exception org.opentrafficsim.base.geometry.OtsGeometryException
Empty constructor.
OtsGeometryException(String) - Constructor for exception org.opentrafficsim.base.geometry.OtsGeometryException
Constructor with message.
OtsGeometryException(String, Throwable) - Constructor for exception org.opentrafficsim.base.geometry.OtsGeometryException
Constructor with message and cause.
OtsGeometryException(Throwable) - Constructor for exception org.opentrafficsim.base.geometry.OtsGeometryException
Constructor with cause.
OtsGeometryUtil - Class in org.opentrafficsim.base.geometry
Utility class for OTS geometry.
OtsLine2d - Class in org.opentrafficsim.base.geometry
This class supports fractional projection, radius, and has location methods .
OtsLine2d(Iterator<Point2d>) - Constructor for class org.opentrafficsim.base.geometry.OtsLine2d
Creates a new OtsLine2d based on point iterator.
OtsLine2d(List<Point2d>) - Constructor for class org.opentrafficsim.base.geometry.OtsLine2d
Construct a new OtsLine2d from a List<OtsPoint3d>.
OtsLine2d(PolyLine2d) - Constructor for class org.opentrafficsim.base.geometry.OtsLine2d
Creates a new OtsLine2d based on 2d information.
OtsLine2d(Point2d...) - Constructor for class org.opentrafficsim.base.geometry.OtsLine2d
Construct a new OtsLine2d.
OtsLine2d.FractionalFallback - Enum Class in org.opentrafficsim.base.geometry
Fallback method for when fractional projection fails as the point is beyond the line or from numerical limitations.
OtsLocatable - Interface in org.opentrafficsim.base.geometry
Locatable that specifies return types.
OtsRuntimeException - Exception in org.opentrafficsim.base
OtsRuntimeException is a generic runtime exception for the OTS project.
OtsRuntimeException() - Constructor for exception org.opentrafficsim.base.OtsRuntimeException
Create an exception without a message.
OtsRuntimeException(String) - Constructor for exception org.opentrafficsim.base.OtsRuntimeException
Create an exception with a message.
OtsRuntimeException(String, Throwable) - Constructor for exception org.opentrafficsim.base.OtsRuntimeException
Create an exception with an underlying cause and a message.
OtsRuntimeException(Throwable) - Constructor for exception org.opentrafficsim.base.OtsRuntimeException
Create an exception with an underlying cause.
OtsShape - Interface in org.opentrafficsim.base.geometry
Shape representation of objects that is suitable for continuous spatial 2D algorithms.

P

ParameterException - Exception in org.opentrafficsim.base.parameters
Throwable for exceptions regarding parameters.
ParameterException() - Constructor for exception org.opentrafficsim.base.parameters.ParameterException
Empty constructor.
ParameterException(String) - Constructor for exception org.opentrafficsim.base.parameters.ParameterException
Constructor with message.
ParameterException(String, Throwable) - Constructor for exception org.opentrafficsim.base.parameters.ParameterException
Constructor with message and cause.
ParameterException(Throwable) - Constructor for exception org.opentrafficsim.base.parameters.ParameterException
Constructor with cause.
Parameters - Interface in org.opentrafficsim.base.parameters
Interface for parameter objects containing the methods for during a simulation.
ParameterSet - Class in org.opentrafficsim.base.parameters
Implementation of Parameters with methods to initialize the set of parameters.
ParameterSet() - Constructor for class org.opentrafficsim.base.parameters.ParameterSet
Construct a new, empty Parameters set.
ParameterSet(Parameters) - Constructor for class org.opentrafficsim.base.parameters.ParameterSet
Constructor which creates a copy of the input set.
ParameterType<T> - Class in org.opentrafficsim.base.parameters
Defines meta-information of a parameter, defining the parameter uniquely.
ParameterType(String, String, Class<T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterType
Construct a new AbstractParameterType without default value and constraint.
ParameterType(String, String, Class<T>, Constraint<? super T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterType
Construct a new AbstractParameterType without default value and with constraint.
ParameterType(String, String, Class<T>, T) - Constructor for class org.opentrafficsim.base.parameters.ParameterType
Construct a new AbstractParameterType with default value, without constraint.
ParameterType(String, String, Class<T>, T, Constraint<? super T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterType
Construct a new AbstractParameterType with default value and constraint.
ParameterTypeAcceleration - Class in org.opentrafficsim.base.parameters
Wrapper class for Acceleration parameters.
ParameterTypeAcceleration(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeAcceleration
Construct a new ParameterTypeAcceleration without default value and without check.
ParameterTypeAcceleration(String, String, Acceleration) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeAcceleration
Construct a new ParameterTypeAcceleration with default value, without check.
ParameterTypeAcceleration(String, String, Acceleration, Constraint<? super Acceleration>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeAcceleration
Construct a new ParameterTypeAcceleration with default value and check.
ParameterTypeAcceleration(String, String, Constraint<? super Acceleration>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeAcceleration
Construct a new ParameterTypeAcceleration without default value, with check.
ParameterTypeBoolean - Class in org.opentrafficsim.base.parameters
Wrapper class for boolean parameters.
ParameterTypeBoolean(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeBoolean
Construct a new ParameterTypeBoolean without default value.
ParameterTypeBoolean(String, String, boolean) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeBoolean
Construct a new ParameterTypeBoolean with default value.
ParameterTypeClass<T> - Class in org.opentrafficsim.base.parameters
Parameter type for classes, of which the value may need to be present in a constraint set.
ParameterTypeClass(String, String, Class<T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClass
Constructor without default value and check.
ParameterTypeClass(String, String, Class<T>, Class<? extends T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClass
Constructor with default value, without check.
ParameterTypeClass(String, String, Class<T>, Class<? extends T>, Constraint<? super Class<? extends T>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClass
Constructor with default value and check.
ParameterTypeClass(String, String, Class<T>, Constraint<? super Class<? extends T>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClass
Constructor without default value, with check.
ParameterTypeClassList<T> - Class in org.opentrafficsim.base.parameters
Parameter type for a list of classes, each of which may need to be present in a constraint set.
ParameterTypeClassList(String, String, Class<List<Class<? extends T>>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClassList
Constructor without default value and check.
ParameterTypeClassList(String, String, Class<List<Class<? extends T>>>, List<Class<? extends T>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClassList
Constructor with default value, without check.
ParameterTypeClassList(String, String, Class<List<Class<? extends T>>>, List<Class<? extends T>>, Constraint<? super List<Class<? extends T>>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClassList
Constructor with default value and check.
ParameterTypeClassList(String, String, Class<List<Class<? extends T>>>, Constraint<? super List<Class<? extends T>>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClassList
Constructor without default value, with check.
ParameterTypeDouble - Class in org.opentrafficsim.base.parameters
Wrapper class for double parameters.
ParameterTypeDouble(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDouble
Construct a new ParameterTypeDouble without default value and check.
ParameterTypeDouble(String, String, double) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDouble
Construct a new ParameterTypeDouble with default value, without check.
ParameterTypeDouble(String, String, double, Constraint<? super Double>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDouble
Construct a new ParameterTypeDouble with default value and check.
ParameterTypeDouble(String, String, Double, Constraint<Number>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDouble
Construct a new ParameterTypeDouble with default value and check.
ParameterTypeDouble(String, String, Constraint<? super Double>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDouble
Construct a new ParameterTypeDouble without default value, with check.
ParameterTypeDuration - Class in org.opentrafficsim.base.parameters
Wrapper class for Time parameters.
ParameterTypeDuration(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDuration
Construct a new ParameterTypeDuration without default value and check.
ParameterTypeDuration(String, String, Duration) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDuration
Construct a new ParameterTypeDuration with default value, without check.
ParameterTypeDuration(String, String, Duration, Constraint<? super Duration>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDuration
Construct a new ParameterTypeDuration with default value and check.
ParameterTypeDuration(String, String, Constraint<? super Duration>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDuration
Construct a new ParameterTypeDuration without default value, with check.
ParameterTypeFrequency - Class in org.opentrafficsim.base.parameters
Wrapper class for Frequency parameters.
ParameterTypeFrequency(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeFrequency
Construct a new ParameterTypeFrequency without default value and check.
ParameterTypeFrequency(String, String, Frequency) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeFrequency
Construct a new ParameterTypeFrequency with default value, without check.
ParameterTypeFrequency(String, String, Frequency, Constraint<? super Frequency>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeFrequency
Construct a new ParameterTypeFrequency with default value and check.
ParameterTypeFrequency(String, String, Constraint<? super Frequency>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeFrequency
Construct a new ParameterTypeFrequency without default value, with check.
ParameterTypeInteger - Class in org.opentrafficsim.base.parameters
Wrapper class for int parameters.
ParameterTypeInteger(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
Construct a new ParameterTypeInteger without default value and check.
ParameterTypeInteger(String, String, int) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
Construct a new ParameterTypeInteger with default value, without check.
ParameterTypeInteger(String, String, int, Constraint<? super Integer>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
Construct a new ParameterTypeInteger with default value and check.
ParameterTypeInteger(String, String, Integer) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
Construct a new ParameterTypeInteger with default value, without check.
ParameterTypeInteger(String, String, Integer, Constraint<Number>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
Construct a new ParameterTypeInteger with default value and check.
ParameterTypeInteger(String, String, Constraint<? super Integer>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
Construct a new ParameterTypeInteger without default value, with check.
ParameterTypeLength - Class in org.opentrafficsim.base.parameters
Wrapper class for Length parameters.
ParameterTypeLength(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLength
Constructor without default value and check.
ParameterTypeLength(String, String, Length) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLength
Construct a new ParameterTypeLength with default value, without check.
ParameterTypeLength(String, String, Length, Constraint<? super Length>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLength
Construct a new ParameterTypeLength with default value and check.
ParameterTypeLength(String, String, Constraint<? super Length>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLength
Construct a new ParameterTypeLength without default value, with check.
ParameterTypeLinearDensity - Class in org.opentrafficsim.base.parameters
Wrapper class for LinearDensity parameters.
ParameterTypeLinearDensity(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLinearDensity
Construct a new ParameterTypeLinearDensity without default value and check.
ParameterTypeLinearDensity(String, String, LinearDensity) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLinearDensity
Construct a new ParameterTypeLinearDensity with default value, without check.
ParameterTypeLinearDensity(String, String, LinearDensity, Constraint<? super LinearDensity>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLinearDensity
Construct a new ParameterTypeLinearDensity with default value and check.
ParameterTypeLinearDensity(String, String, Constraint<? super LinearDensity>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLinearDensity
Construct a new ParameterTypeLinearDensity without default value, with check.
ParameterTypeNumeric<T extends Number> - Class in org.opentrafficsim.base.parameters
Wrapper class for parameters of any quantity in JUnits, or double, integer, etc.
ParameterTypeNumeric(String, String, Class<T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeNumeric
Constructor without default value and check.
ParameterTypeNumeric(String, String, Class<T>, Constraint<? super T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeNumeric
Constructor without default value, with check.
ParameterTypeNumeric(String, String, Class<T>, T) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeNumeric
Constructor with default value, without check.
ParameterTypeNumeric(String, String, Class<T>, T, Constraint<? super T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeNumeric
Constructor with default value and check.
ParameterTypes - Class in org.opentrafficsim.base.parameters
Predefined list of common parameter types.
ParameterTypeSpeed - Class in org.opentrafficsim.base.parameters
Wrapper class for Speed parameters.
ParameterTypeSpeed(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeSpeed
Construct a new ParameterTypeSpeed without default value and check.
ParameterTypeSpeed(String, String, Speed) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeSpeed
Construct a new ParameterTypeSpeed with default value, without check.
ParameterTypeSpeed(String, String, Speed, Constraint<? super Speed>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeSpeed
Constructor a new ParameterTypeSpeed with default value and check.
ParameterTypeSpeed(String, String, Constraint<? super Speed>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeSpeed
Constructor a new ParameterTypeSpeed without default value, with check.
ParameterTypeString - Class in org.opentrafficsim.base.parameters
Parameter type for String parameters.
ParameterTypeString(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeString
 
ParameterTypeString(String, String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeString
 
ParameterTypeString(String, String, String, Constraint<? super String>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeString
 
ParameterTypeString(String, String, Constraint<? super String>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeString
 
PARSER - Static variable in class org.opentrafficsim.base.logger.Cat
PARSER projects.
PERCEPTION - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Length of mental map ahead.
PolygonShape - Class in org.opentrafficsim.base.geometry
Bounds defined by a polygon.
PolygonShape(Polygon2d) - Constructor for class org.opentrafficsim.base.geometry.PolygonShape
Constructor.
POSITIVE - Enum constant in enum class org.opentrafficsim.base.parameters.constraint.NumericConstraint
Checks for >0.
POSITIVE - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
 
POSITIVEZERO - Enum constant in enum class org.opentrafficsim.base.parameters.constraint.NumericConstraint
Checks for ≥0.
POSITIVEZERO - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
 
printCoordinate(String, Point2d) - Static method in class org.opentrafficsim.base.geometry.OtsGeometryUtil
Print one Point2d on the console.
printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterType
Print the given value from the map in Parameters in a presentable format.
printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeBoolean
 
printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeClass
 
printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeClassList
 
printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeDouble
 
printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeInteger
 
printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeNumeric
 
printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeString
 
projectFractional(double, double, OtsLine2d.FractionalFallback) - Method in class org.opentrafficsim.base.geometry.DirectionalPolyLine
Fractional projection applied with the internal start and end direction.
projectFractional(Direction, Direction, double, double, OtsLine2d.FractionalFallback) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Returns the fractional projection of a point to a line.
projectOrthogonalSnap(double, double) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Returns the fractional position along this line of the orthogonal projection of point (x, y) on this line.

R

RectangleShape - Class in org.opentrafficsim.base.geometry
Shape defined by a rectangle.
RectangleShape(double, double) - Constructor for class org.opentrafficsim.base.geometry.RectangleShape
Constructor.
relativeContour(OtsLocatable) - Static method in interface org.opentrafficsim.base.geometry.OtsLocatable
Returns the contour of the locatable translated and rotated such that it is defined relative to the location.
resetParameter(ParameterType<?>) - Method in interface org.opentrafficsim.base.parameters.Parameters
Resets the parameter value to the value from before the last set.
resetParameter(ParameterType<?>) - Method in class org.opentrafficsim.base.parameters.ParameterSet
 
Resource - Class in org.opentrafficsim.base
Resource utility.
reverse() - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Construct a new OtsLine2d with all points of this OtsLine2d in reverse order.
ROAD - Static variable in class org.opentrafficsim.base.logger.Cat
ROAD project.
RoundedRectangleShape - Class in org.opentrafficsim.base.geometry
Shape defined by a rounded rectangle.
RoundedRectangleShape(double, double, double) - Constructor for class org.opentrafficsim.base.geometry.RoundedRectangleShape
Constructor.
RoundedRectangleShape(double, double, double, int) - Constructor for class org.opentrafficsim.base.geometry.RoundedRectangleShape
Constructor.

S

S0 - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Car-following stopping distance.
setAllIn(Parameters) - Method in interface org.opentrafficsim.base.parameters.Parameters
Sets the parameters of this set in the given set.
setAllIn(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterSet
 
setDefaultParameter(ParameterType<T>) - Method in class org.opentrafficsim.base.parameters.ParameterSet
Sets the default value of a parameter.
setDefaultParameters(Class<?>) - Method in class org.opentrafficsim.base.parameters.ParameterSet
Sets the default values of all accessible parameters defined in the given class.
setParameter(ParameterType<T>, T) - Method in interface org.opentrafficsim.base.parameters.Parameters
Set parameter value of given parameter type.
setParameter(ParameterType<T>, T) - Method in class org.opentrafficsim.base.parameters.ParameterSet
 
setParameterResettable(ParameterType<T>, T) - Method in interface org.opentrafficsim.base.parameters.Parameters
Set parameter value of given parameter type, store old value to allow a reset.
setParameterResettable(ParameterType<T>, T) - Method in class org.opentrafficsim.base.parameters.ParameterSet
 
signedDistance(Point2d) - Method in class org.opentrafficsim.base.geometry.CircleShape
 
signedDistance(Point2d) - Method in class org.opentrafficsim.base.geometry.OffsetRectangleShape
 
signedDistance(Point2d) - Method in interface org.opentrafficsim.base.geometry.OtsShape
Signed distance function.
signedDistance(Point2d) - Method in class org.opentrafficsim.base.geometry.RectangleShape
Signed distance function.
signedDistance(Point2d) - Method in class org.opentrafficsim.base.geometry.RoundedRectangleShape
Signed distance function.
SingleBound<T extends Number> - Class in org.opentrafficsim.base.parameters.constraint
Continuous constraints with a single bound.
SingleBound(SingleBound.Bound, String) - Constructor for class org.opentrafficsim.base.parameters.constraint.SingleBound
Constructor.
SingleBound.Bound - Class in org.opentrafficsim.base.parameters.constraint
Super class for classes that implement a specific numeric check.
SingleBound.LowerBoundExclusive<T extends Number> - Class in org.opentrafficsim.base.parameters.constraint
Class implementing a lower exclusive bound; value > bound.
SingleBound.LowerBoundInclusive<T extends Number> - Class in org.opentrafficsim.base.parameters.constraint
Class implementing a lower inclusive bound; value >= bound.
SingleBound.UpperBoundExclusive<T extends Number> - Class in org.opentrafficsim.base.parameters.constraint
Class implementing an upper exclusive bound; value < bound.
SingleBound.UpperBoundInclusive<T extends Number> - Class in org.opentrafficsim.base.parameters.constraint
Class implementing an upper inclusive bound; value <= bound.
SpatialObject - Interface in org.opentrafficsim.base.geometry
SpatialObject indicates that an object has a contour that can be requested.
StripeElement - Record Class in org.opentrafficsim.base
Data container for an element of a stripe road marking.
StripeElement(Length, Color, LengthVector) - Constructor for record class org.opentrafficsim.base.StripeElement
Constructor checks.
StripeElement.StripeLateralSync - Enum Class in org.opentrafficsim.base
Method to determine how stripes synchronize within a link.
SubCollectionConstraint<T> - Class in org.opentrafficsim.base.parameters.constraint
Constraint that checks whether a collection (the parameter value) is a subset of a constraint collection.
SubCollectionConstraint(Collection<T>) - Constructor for class org.opentrafficsim.base.parameters.constraint.SubCollectionConstraint
 

T

T - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Current car-following headway.
T0 - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Look-ahead time for mandatory lane changes.
TAU - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Headway relaxation time.
timestamp() - Method in record class org.opentrafficsim.base.TimeStampedObject
Returns the value of the timestamp record component.
TimeStampedObject<C> - Record Class in org.opentrafficsim.base
An object with a time stamp, where the object is of a specific class.
TimeStampedObject(C, Time) - Constructor for record class org.opentrafficsim.base.TimeStampedObject
Creates an instance of a TimeStampedObject record class.
TMAX - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Maximum car-following headway.
TMIN - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Minimum car-following headway.
toBoundsTransform(Point2d) - Static method in interface org.opentrafficsim.base.geometry.OtsLocatable
Returns a transformation by which absolute coordinates can be translated and rotated to the frame of the possibly oriented location around which bounds are defined.
toContourTransform(Point2d) - Static method in interface org.opentrafficsim.base.geometry.OtsLocatable
Returns a transformation by which relative coordinates can be translated and rotated to the frame of the possibly oriented location around which bounds are defined.
toString() - Method in class org.opentrafficsim.base.geometry.CircleShape
 
toString() - Method in class org.opentrafficsim.base.geometry.OffsetRectangleShape
 
toString() - Method in class org.opentrafficsim.base.geometry.PolygonShape
 
toString() - Method in class org.opentrafficsim.base.geometry.RectangleShape
 
toString() - Method in class org.opentrafficsim.base.geometry.RoundedRectangleShape
 
toString() - Method in class org.opentrafficsim.base.parameters.constraint.ClassCollectionConstraint
 
toString() - Method in class org.opentrafficsim.base.parameters.constraint.ClassConstraint
 
toString() - Method in class org.opentrafficsim.base.parameters.constraint.CollectionConstraint
 
toString() - Method in class org.opentrafficsim.base.parameters.constraint.DualBound
 
toString() - Method in class org.opentrafficsim.base.parameters.constraint.MultiConstraint
 
toString() - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound.Bound
 
toString() - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound
 
toString() - Method in class org.opentrafficsim.base.parameters.constraint.SubCollectionConstraint
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterSet
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterType
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeAcceleration
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeBoolean
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeClass
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeClassList
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeDouble
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeDuration
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeFrequency
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeInteger
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeLength
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeLinearDensity
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeNumeric
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeSpeed
 
toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeString
 
toString() - Method in record class org.opentrafficsim.base.StripeElement
Returns a string representation of this record class.
toString() - Method in record class org.opentrafficsim.base.TimeStampedObject
Returns a string representation of this record class.
TR - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Reaction time.
transformContour(Polygon2d, Point2d) - Static method in interface org.opentrafficsim.base.geometry.OtsLocatable
Transform the contour from the location to relative coordinates, which may also be an OrientedPoint for rotation.
transformLine(PolyLine2d, Point2d) - Static method in interface org.opentrafficsim.base.geometry.OtsLocatable
Transform the line by location, which may also be an OrientedPoint for rotation.
truncate(double) - Method in class org.opentrafficsim.base.geometry.OtsLine2d
Truncate a line at the given length (less than the length of the line, and larger than zero) and return a new line.
Type<T extends Type<T>> - Interface in org.opentrafficsim.base
Superclass of all sorts of types, for example GtuType, ParameterType, etc.

U

UNITINTERVAL - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
 
UNITINTERVAL - Static variable in class org.opentrafficsim.base.parameters.constraint.DualBound
Standard dual bound on the unit interval [0...1].
UpperBoundExclusive(T) - Constructor for class org.opentrafficsim.base.parameters.constraint.SingleBound.UpperBoundExclusive
Constructor.
UpperBoundInclusive(T) - Constructor for class org.opentrafficsim.base.parameters.constraint.SingleBound.UpperBoundInclusive
Constructor.
upperExclusive(double) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
Creates an upper exclusive bound; value < bound.
upperExclusive(T) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
Creates an upper exclusive bound; value < bound.
upperInclusive(double) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
Creates an upper inclusive bound; value <= bound.
upperInclusive(T) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
Creates an upper inclusive bound; value <= bound.

V

valueOf(String) - Static method in enum class org.opentrafficsim.base.geometry.OtsLine2d.FractionalFallback
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.opentrafficsim.base.parameters.constraint.NumericConstraint
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.opentrafficsim.base.StripeElement.StripeLateralSync
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.opentrafficsim.base.geometry.OtsLine2d.FractionalFallback
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.opentrafficsim.base.parameters.constraint.NumericConstraint
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.opentrafficsim.base.StripeElement.StripeLateralSync
Returns an array containing the constants of this enum class, in the order they are declared.
VCONG - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Speed threshold below which traffic is considered congested.

W

width() - Method in record class org.opentrafficsim.base.StripeElement
Returns the value of the width record component.
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form