clipPolyfaceInsideOutside MethodStatic

Clip each facet to the clipper.

  • accumulate inside and outside facets -- to destination.builderA and destination.builderB
  • if destination.buildClosureFaces is 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: number0): void

Parameter Type Description
source PolyfaceVisitor | Polyface  
clipper ClipPlane | ConvexClipPlaneSet | UnionOfConvexClipPlaneSets  
destination ClippedPolyfaceBuilders  
outputSelect number  

Returns - void

Defined in

Last Updated: 07 June, 2025