MCPcopy
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
447func (q *SweepEvents) Push(item *SweepPoint) {
448 *q = append(*q, item)
449 q.up(len(*q) - 1)
450}
451
452func (q *SweepEvents) Top() *SweepPoint {
453 return (*q)[0]

Callers 2

bentleyOttmannFunction · 0.95
splitAtIntersectionsFunction · 0.45

Calls 1

upMethod · 0.95

Tested by

no test coverage detected