Package org.opentrafficsim.kpi.sampling
Class Trajectory.Boundary
java.lang.Object
org.opentrafficsim.kpi.sampling.Trajectory.Boundary
- Enclosing class:
- Trajectory<G extends GtuData>
Spatial or temporal boundary as a fractional position in the array.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
index
public final int indexRounded-down index. -
fraction
public final double fractionFraction.
-
-
Constructor Details
-
Boundary
Boundary(int index, double fraction) - Parameters:
index
- int; rounded down indexfraction
- double; fraction
-
-
Method Details