countSpatialElements

fun countSpatialElements(targetClass: Class<*>): Int

Counts the number of SpatialElements of the provided class type that are in the cell. Use X.class for the search, where X is a valid class name.

Return

the count

Parameters

targetClass