classifyCounts Method

Return classification as ON, IN, or OUT according to hit and crossing counts.

  • Any nonzero hit count is ON
  • Otherwise IN if left crossing count is odd.

classifyCounts(): number | undefined

Returns - 0 if ON, 1 if IN, -1 if OUT

Defined in

Last Updated: 08 January, 2020