Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
351
type
SweepEvents []*SweepPoint
352
353
func
(q SweepEvents) Less(i, j int) bool {
354
return
q[i].LessH(q[j])
355
}
356
357
func
(q SweepEvents) Swap(i, j int) {
358
q[i], q[j] = q[j], q[i]
Callers
2
up
Method · 0.95
down
Method · 0.95
Calls
1
LessH
Method · 0.80
Tested by
no test coverage detected