geometry.Geometry.where_prop#
- Geometry.where_prop(prop)#
Find the elements having some property value.
Parameters#
- prop: int or int array_like
The property value(s) to be found.
Returns#
- int array
A 1-dim int array with the indices of all the elements that have the property value
prop, or one of the values inprop.If the object has no properties, an empty array is returned.
See Also#
set_prop(): Set the properties for the objectto_prop(): Create a valid set of properties for the objectselect_prop(): Return a Geometry object with only the matching elements