coreValue property

  1. @visibleForTesting
int coreValue

Implementation

@visibleForTesting
int get coreValue {
  switch (this) {
    case unknown:
      return -1;
    case relate:
      return 0;
    case equals:
      return 1;
    case disjoint:
      return 2;
    case intersects:
      return 3;
    case touches:
      return 4;
    case crosses:
      return 5;
    case within:
      return 6;
    case contains:
      return 7;
    case overlaps:
      return 8;
    case envelopeIntersects:
      return 9;
    case indexIntersects:
      return 10;
  }
}