API Reference > geometry-core > CartesianGeometry > BooleanClipFactory BooleanClipFactory Class A BooleanClipFactory is a factory to create objects that implement interior nodes of a tree of boolean clip operations. The static (factory) methods create specific clip operations Union Intersection Parity Difference Each construction has a keepInside flag that optionally negates the initial result of the parity, intersection, parity, or difference: if keepInside === true, accept the "inside" of the initial result if keepInside === false, accept the "outside" of the initial result Methods Name Description anyClipperToJSON(clipper: any): any | undefined Static Choose a toJSON method appropriate to the clipper createCaptureClipOutside(primaryClipper: Clipper): Clipper Static Create a boolean clipper which performs the reverse of that of primaryClipper createCaptureDifference(primaryClipper: Clipper, excludedClipper: Clipper, keepInside: boolean): Clipper Static Create a boolean clipper which performs a difference operation for points "inside primaryClipper" and "outside excludedClipper" createCaptureIntersection(clippers: Clipper | Clipper[], keepInside: boolean): Clipper Static Create a boolean clipper which performs an intersection over its children createCaptureParity(clippers: Clipper | Clipper[], keepInside: boolean): Clipper Static Create a boolean clipper which performs a parity over its children createCaptureUnion(clippers: Clipper | Clipper[], keepInside: boolean): Clipper Static Create a boolean clipper which performs a union over its children parseToClipper(source?: object): Clipper | undefined Static look for content that represents a clipper. parseToClipperArray(source: any): Clipper[] | undefined Static convert source to an array of clipper objects. Defined in core/geometry/src/clipping/BooleanClipFactory.ts Line 26 Last Updated: 13 June, 2024