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

Method Less

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

Source from the content-addressed store, hash-verified

351type SweepEvents []*SweepPoint
352
353func (q SweepEvents) Less(i, j int) bool {
354 return q[i].LessH(q[j])
355}
356
357func (q SweepEvents) Swap(i, j int) {
358 q[i], q[j] = q[j], q[i]

Callers 2

upMethod · 0.95
downMethod · 0.95

Calls 1

LessHMethod · 0.80

Tested by

no test coverage detected