velocityFrom method
Returns velocity between this and other
- previous point.
Implementation
double velocityFrom(OffsetPoint other) => timestamp != other.timestamp
? this.distanceTo(other) / (timestamp - other.timestamp)
: 0.0;
Returns velocity between this and other
- previous point.
double velocityFrom(OffsetPoint other) => timestamp != other.timestamp
? this.distanceTo(other) / (timestamp - other.timestamp)
: 0.0;