hasNonEmptyElements static method
Returns true if the array contains any non-empty Geometry
s.
@param geometries an array of Geometry
s; no elements may be
null
@return true
if any of the Geometry
s
isEmpty
methods return false
Implementation
static bool hasNonEmptyElements(List<Geometry> geometries) {
for (int i = 0; i < geometries.length; i++) {
if (!geometries[i].isEmpty()) {
return true;
}
}
return false;
}