Click or drag to resize

GH_MouseTrackerDeviation Method (DateTime, DateTime)

Gets the maximum deviation of the recorded mouse path. The maximum deviation is the furthest distance the mouse has been from the first point in the history span. It does not measure the largest deviation between any two points in the time span, only the first and any subsequent point.

Namespace:  Grasshopper.GUI
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public double Deviation(
	DateTime t0,
	DateTime t1
)

Parameters

t0
Type: SystemDateTime
Represents the earliest time to include.
t1
Type: SystemDateTime
Represents the latest time to include.

Return Value

Type: Double
See Also