isEmpty method

bool isEmpty()
override

Tests whether the set of points covered by this Geometry is empty.

@return true if this Geometry does not cover any points

Implementation

bool isEmpty() {
  return coordinates!.size() == 0;
}