MCPcopy Create free account
hub / github.com/tdewolff/canvas / returnNode

Method returnNode

path_intersection.go:728–732  ·  view source on GitHub ↗
(n *SweepNode)

Source from the content-addressed store, hash-verified

726}
727
728func (s *SweepStatus) returnNode(n *SweepNode) {
729 n.SweepPoint.node = nil
730 n.SweepPoint = nil // help the GC
731 boNodePool.Put(n)
732}
733
734func (s *SweepStatus) find(item *SweepPoint) (*SweepNode, int) {
735 n := s.root

Callers 1

RemoveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected