meshing.active_branches
meshing.active_branches(child_fields, points, *, mode='min')
Report which child field a hard CSG min/max selects per point.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| child_fields | Sequence[Callable[[Array], Array]] | The operand fields of a union (mode="min") or intersection (mode="max"). |
required |
| points | Array | Query positions shaped (point_count, 3). |
required |
| mode | str | "min" or "max". |
'min' |
Returns
| Name | Type | Description |
|---|---|---|
| np.ndarray | Concrete child indices shaped (point_count,). |