isLine method

bool isLine()

Implementation

bool isLine() {
  switch (this) {
    case MULTILINESTRING:
    case LINESTRING:
      return true;
    default:
      return false;
  }
}