()
| 336 | } |
| 337 | |
| 338 | func (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. |
| 351 | type SweepEvents []*SweepPoint |
nothing calls this directly
no outgoing calls
no test coverage detected