itasca.flowplane.vertexarray
Array interface for flowplane vertexs.
Functions
- itasca.flowplane.vertexarray.extra(slot: int) array float{flowplane vertex} or float{flowplane vertex,3}.
Get the flowplane vertex extra data in the given slot as an array. Extra variables accessed by array must be of type float or vec.
- itasca.flowplane.vertexarray.ids() array int{flowplane vertex}.
Get the flowplane vertex ids as an array.
- itasca.flowplane.vertexarray.in_group(group_name: str, slot='default') array bool{nvertex}.
Return block group membership as a Boolean array.
- itasca.flowplane.vertexarray.set_extra(slot: int, data: array float{flowplane vertex} or float{flowplane vertex, 3}) None.
Set the flowplane vertex extra data in the given slot with an array. Extra variables set by array must be of type float or vec.
- itasca.flowplane.vertexarray.set_group(membership: array bool{nvertex}, group_name: str, slot="default") None.
Set block group from an array. Where membership True set the corresponding block to be a member of group group_name in the given slot.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Oct 31, 2024 |