org.opentrafficsim.draw.egtf.KernelShape Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ots-draw Show documentation
Show all versions of ots-draw Show documentation
OTS drawing classes that can paint themselves using data objects
The newest version!
package org.opentrafficsim.draw.egtf;
/**
* 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
*/
public interface KernelShape
{
/**
* Calculates a weight.
* @param c double; assumed propagation speed
* @param dx double; distance between measurement and estimated point
* @param dt double; time between measurement and estimated point
* @return double; weight
*/
double weight(double c, double dx, double dt);
}