MCPcopy
hub / github.com/tdewolff/canvas / Init

Method Init

path_intersection.go:440–445  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

438}
439
440func (q SweepEvents) Init() {
441 n := len(q)
442 for i := n/2 - 1; 0 <= i; i-- {
443 q.down(i, n)
444 }
445}
446
447func (q *SweepEvents) Push(item *SweepPoint) {
448 *q = append(*q, item)

Callers 2

bentleyOttmannFunction · 0.95
relateFunction · 0.95

Calls 1

downMethod · 0.95

Tested by

no test coverage detected