GH_MouseTrackerLastFrameWithinDeviation Method |
Starting from the youngest frame, finds the oldest frame that is still
within a maximum deviation of the youngest frame.
Namespace:
Grasshopper.GUI
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public int LastFrameWithinDeviation(
double deviation
)
Public Function LastFrameWithinDeviation (
deviation As Double
) As Integer
Parameters
- deviation
- Type: SystemDouble
Maximum allowed deviation.
Return Value
Type:
Int32The index of the oldest frame with a distance less than the
deviation from the youngest frame, or -1 if no such frame could be found.
See Also