Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tdewolff/canvas
/ Push
Method
Push
path_intersection.go:447–450 ·
view source on GitHub ↗
(item *SweepPoint)
Source
from the content-addressed store, hash-verified
445
}
446
447
func
(q *SweepEvents) Push(item *SweepPoint) {
448
*q = append(*q, item)
449
q.up(len(*q) - 1)
450
}
451
452
func
(q *SweepEvents) Top() *SweepPoint {
453
return
(*q)[0]
Callers
2
bentleyOttmann
Function · 0.95
splitAtIntersections
Function · 0.45
Calls
1
up
Method · 0.95
Tested by
no test coverage detected