Definition at line 442 of file Myers.cpp.
◆ SweepLine()
myers::SweepLine::SweepLine |
( |
| ) |
|
|
inline |
Definition at line 447 of file Myers.cpp.
447 {
448 fStatus.push_back(kLeftStatusSentinel);
449 fStatus.push_back(kRightStatusSentinel);
450 }
◆ finishAndReleaseCrossings()
std::vector< Crossing > myers::SweepLine::finishAndReleaseCrossings |
( |
| ) |
|
|
inline |
Definition at line 463 of file Myers.cpp.
463 {
464
467 }
std::vector< Crossing > finishAndReleaseCrossings()
◆ handleEvent()
void myers::SweepLine::handleEvent |
( |
Event |
e | ) |
|
|
inline |
Definition at line 452 of file Myers.cpp.
452 {
453 auto& [
y, beginnings, horizontals, endings] =
e;
454
455
456 this->sortAndRecord(
y);
457
458 this->handleBeginnings(
y, beginnings);
459 this->handleHorizontals(
y, horizontals);
460 this->handleEndings(endings);
461 }
The documentation for this class was generated from the following file:
- third_party/skia/modules/bentleyottmann/src/Myers.cpp