MCPcopy Create free account
hub / github.com/tdewolff/canvas / Not

Method Not

path_intersection.go:204–206  ·  view source on GitHub ↗

Not is the same as Path.Not, but faster if paths are already split. Each resulting path is a single filling path followed by its holes as subpaths.

(qs Paths)

Source from the content-addressed store, hash-verified

202// Not is the same as Path.Not, but faster if paths are already split. Each resulting path
203// is a single filling path followed by its holes as subpaths.
204func (ps Paths) Not(qs Paths) Paths {
205 return bentleyOttmann(ps, qs, opNOT, NonZero)
206}
207
208// Div returns the boolean path operation of path p DIV q, i.e. p divided by q.
209// It removes all self-intersections and overlapping areas, orients all filling paths CCW and all

Callers

nothing calls this directly

Calls 1

bentleyOttmannFunction · 0.85

Tested by

no test coverage detected