MCPcopy Index your code
hub / github.com/tdewolff/canvas / Swap

Method Swap

path_intersection.go:357–359  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

355}
356
357func (q SweepEvents) Swap(i, j int) {
358 q[i], q[j] = q[j], q[i]
359}
360
361// AddPathEndpoints adds all line segments of p to the queue q. The first command is converted to a MoveToCmd and any CloseCmd that
362// is not at the end is converted to a LineToCmd.

Callers 4

PopMethod · 0.95
upMethod · 0.95
downMethod · 0.95
PrintMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected