splitPathsByRegionInOnOutXY MethodStatic
- Find intersections of
curvesToCutwith boundaries ofregion. - Break
curvesToCutinto parts inside, outside, and coincident. - Return all fragments, split among
insideParts,outsideParts, andcoincidentPartsin the output object.
splitPathsByRegionInOnOutXY(curvesToCut: undefined | CurvePrimitive | CurveCollection, region: AnyRegion): { coincidentParts: AnyCurve[], insideParts: AnyCurve[], outsideParts: AnyCurve[] }
| Parameter | Type | Description |
|---|---|---|
| curvesToCut | undefined | CurvePrimitive | CurveCollection | |
| region | AnyRegion |
Returns - { coincidentParts: AnyCurve[], insideParts: AnyCurve[], outsideParts: AnyCurve[] }
Defined in
- curve/RegionOps.ts Line 466
Last Updated: 29 September, 2023