clipPolyfaceUnionOfConvexClipPlaneSetsToBuilders MethodStatic
Clip each facet to the clippers.
- Add inside, outside fragments to builderA, builderB
- This does not consider params, normals, colors. Just points.
- outputSelect determines how the clip output is structured
- 0 outputs all shards -- this may have many interior edges.
- 1 stitches shards together to get cleaner facets.
clipPolyfaceUnionOfConvexClipPlaneSetsToBuilders(source: PolyfaceVisitor | Polyface, allClippers: UnionOfConvexClipPlaneSets, destination: ClippedPolyfaceBuilders, outputSelector: number = 1): void
| Parameter | Type | Description |
|---|---|---|
| source | PolyfaceVisitor | Polyface | |
| allClippers | UnionOfConvexClipPlaneSets | |
| destination | ClippedPolyfaceBuilders | |
| outputSelector | number |
Returns - void
Defined in
- polyface/PolyfaceClip.ts Line 139
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.