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

Method String

path_intersection.go:338–348  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

336}
337
338func (s *SweepPoint) String() string {
339 path := "P"
340 if s.clipping {
341 path = "Q"
342 }
343 arrow := "→"
344 if !s.left {
345 arrow = "←"
346 }
347 return fmt.Sprintf("%s-%v(%v%v%v)", path, s.segment, s.Point, arrow, s.other.Point)
348}
349
350// SweepEvents is a heap priority queue of sweep events.
351type SweepEvents []*SweepPoint

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected