compareDomainValueToViewport abstract method

int compareDomainValueToViewport(
  1. D domain
)

Compare domain to the viewport.

0 if the domain is in the viewport. 1 if the domain is to the right of the viewport. -1 if the domain is to the left of the viewport.

Implementation

int compareDomainValueToViewport(D domain);