clipPolyfaceInsideOutside MethodStatic
Clip each facet to the clipper.
- accumulate inside and outside facets -- to destination.builderA and destination.builderB
- if
destination.buildClosureFacesis set, also build closure facets. - This method parses the variant input types and calls a more specific method.
- WARNING: The new mesh is "points only".
- outputSelect applies only for UnionOfConvexClipPlaneSets -- see clipPolyfaceUnionOfConvexClipPlaneSetsToBuilders
clipPolyfaceInsideOutside(source: PolyfaceVisitor | Polyface, clipper: ClipPlane | ConvexClipPlaneSet | UnionOfConvexClipPlaneSets, destination: ClippedPolyfaceBuilders, outputSelect: number = 0): void
| Parameter | Type | Description |
|---|---|---|
| source | PolyfaceVisitor | Polyface | |
| clipper | ClipPlane | ConvexClipPlaneSet | UnionOfConvexClipPlaneSets | |
| destination | ClippedPolyfaceBuilders | |
| outputSelect | number |
Returns - void
Defined in
- polyface/PolyfaceClip.ts Line 454
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.