PolyfaceClip Class
PolyfaceClip is a static class gathering operations using Polyfaces and clippers.
Methods
| Name | Description | |
|---|---|---|
| constructor(): PolyfaceClip | ||
| clipPolyface(source: PolyfaceVisitor | Polyface, clipper: ClipPlane | ConvexClipPlaneSet): undefined | Polyface Static | Clip each facet to the clipper. | |
| clipPolyfaceClipPlane(source: PolyfaceVisitor | Polyface, clipper: ClipPlane, insideClip: boolean = true, buildClosureFaces: boolean = false): IndexedPolyface Static | Clip each facet of polyface to the ClipPlane. | |
| clipPolyfaceClipPlaneWithClosureFace(source: PolyfaceVisitor | Polyface, clipper: ClipPlane, insideClip: boolean = true, buildClosureFaces: boolean = true): IndexedPolyface Static | Clip each facet of polyface to the ClipPlane. | |
| clipPolyfaceConvexClipPlaneSet(source: PolyfaceVisitor | Polyface, clipper: ConvexClipPlaneSet): IndexedPolyface Static | Clip each facet to the clipper. | |
| clipPolyfaceInsideOutside(source: PolyfaceVisitor | Polyface, clipper: ClipPlane | ConvexClipPlaneSet | UnionOfConvexClipPlaneSets, destination: ClippedPolyfaceBuilders, outputSelect: number = 0): void Static | Clip each facet to the clipper. | |
| clipPolyfaceUnderOverConvexPolyfaceIntoBuilders(visitorA: PolyfaceVisitor, visitorB: PolyfaceVisitor, builderAUnderB: PolyfaceBuilder, builderAOverB: PolyfaceBuilder): void Static | * Split facets of mesh "A" into parts that are | |
| clipPolyfaceUnionOfConvexClipPlaneSetsToBuilders(source: PolyfaceVisitor | Polyface, allClippers: UnionOfConvexClipPlaneSets, destination: ClippedPolyfaceBuilders, outputSelector: number = 1): void Static | Clip each facet to the clippers. | |
| computeCutFill(meshA: IndexedPolyface, meshB: IndexedPolyface): { meshAOverB: IndexedPolyface, meshAUnderB: IndexedPolyface } Static | * Split facets into vertically overlapping sections | |
| drapeRegion(mesh: PolyfaceVisitor | Polyface, region: AnyRegion, sweepVector?: Vector3d, options?: StrokeOptions): undefined | IndexedPolyface Static | Drape the region onto the mesh. | |
| sectionPolyfaceClipPlane(source: PolyfaceVisitor | Polyface, clipper: ClipPlane): LineString3d[] Static | Intersect each facet with the clip plane. |
Defined in
- polyface/PolyfaceClip.ts Line 96
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.