isPoint method

bool isPoint()

Implementation

bool isPoint() {
  switch (this) {
    case MULTIPOINT:
    case POINT:
      return true;
    default:
      return false;
  }
}