Package org.opentrafficsim.draw.egtf
Interface KernelShape
- All Known Implementing Classes:
ExpKernelShape
,GaussKernelShape
public interface KernelShape
Shape interface for a kernel.
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:
- Wouter Schakel
-
Method Summary
Modifier and TypeMethodDescriptiondouble
weight
(double c, double dx, double dt) Calculates a weight.
-
Method Details
-
weight
double weight(double c, double dx, double dt) Calculates a weight.- Parameters:
c
- double; assumed propagation speeddx
- double; distance between measurement and estimated pointdt
- double; time between measurement and estimated point- Returns:
- double; weight
-