code: protected boolean isInside (int cross) {
          return (rule == WIND_NON_ZERO) ? Crossing.isInsideNonZero(cross) :
              Crossing.isInsideEvenOdd(cross);
      }
docs: Checks cross count according to path rule to define is it point inside shape or not.
  
  @param cross the point cross count.
  @return true if point is inside path, or false otherwise.