Structs§
Constants§
Functions§
- brush_
planes_ to_ world - Transform brush face planes from local space to world space.
- brushes_
intersect - Check whether two convex volumes (defined by face planes) overlap.
- clean_
degenerate_ faces - Remove faces that produce no vertices (degenerate) from a face set.
- compute_
brush_ geometry - Compute brush geometry from face planes. Returns (unique vertices, per-face polygon vertex indices).
- compute_
face_ tangent_ axes - Compute tangent axes for a face from its normal (paraxial projection).
- compute_
face_ uvs - Compute UVs for vertices on a face using explicit tangent axes.
- intersect_
brushes - Compute the intersection of multiple convex brush volumes.
- plane_
triple_ intersection - Solve the intersection of three planes. Returns None if degenerate.
- point_
inside_ all_ planes - Check if a point is inside (or on the boundary of) all half-planes.
- sort_
face_ vertices_ by_ winding - Sort face vertex indices by winding order around the face normal.
- subtract_
brush - Subtract a cutter volume from a target brush. Both face sets must be in the same coordinate space (typically world space). Returns the fragment face sets representing the target minus the cutter.
- triangulate_
face - Fan triangulation from vertex 0. Valid for convex polygons.