Class VelocityTracker
Inheritance
System.Object
VelocityTracker
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mapsui.UI.Utils
Assembly: Mapsui.UI.Forms.dll
Syntax
public class VelocityTracker
Constructors
| Improve this Doc View SourceVelocityTracker()
Declaration
public VelocityTracker()
Methods
| Improve this Doc View SourceAddEvent(Int64, Point, Int64)
Declaration
public void AddEvent(long id, Point location, long ticks)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | id | |
Point | location | |
System.Int64 | ticks |
CalcVelocity(Int64, Int64)
Declaration
public (double vx, double vy) CalcVelocity(long id, long now)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | id | |
System.Int64 | now |
Returns
Type | Description |
---|---|
System.ValueTuple<System.Double, System.Double> |
Clear()
Declaration
public void Clear()