Class TypedFilter
java.lang.Object
org.opentrafficsim.core.egtf.typed.TypedFilter
- All Implemented Interfaces:
Filter
public class TypedFilter extends Object implements Filter
Typed version of a kernel.
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 27 okt. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Method Summary
Modifier and Type Method Description <K> Kget(Quantity<?,K> quantity)Returns the filtered data in output format.double[]getLocation()Returns the grid location.LengthVectorgetLocationVector()Returns the grid location.double[][]getSI(Quantity<?,?> quantity)Returns filtered data as SI values.double[]getTime()Returns the grid time.DurationVectorgetTimeVector()Returns the grid time.StringtoString()
-
Method Details
-
getLocation
public double[] getLocation()Returns the grid location.- Specified by:
getLocationin interfaceFilter- Returns:
- double[]; grid location
-
getLocationVector
Returns the grid location.- Returns:
- LengthVector; grid location
-
getTime
public double[] getTime()Returns the grid time. -
getTimeVector
Returns the grid time.- Returns:
- DurationVector; grid time
-
getSI
Returns filtered data as SI values. -
get
Returns the filtered data in output format. -
toString
-