MCPcopy Create free account
hub / github.com/AngusJohnson/Clipper2 / PopScanline

Method PopScanline

CPP/Clipper2Lib/src/clipper.engine.cpp:863–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861
862
863 bool ClipperBase::PopScanline(int64_t& y)
864 {
865 if (scanline_list_.empty()) return false;
866 y = scanline_list_.top();
867 scanline_list_.pop();
868 while (!scanline_list_.empty() && y == scanline_list_.top())
869 scanline_list_.pop(); // Pop duplicates.
870 return true;
871 }
872
873
874 bool ClipperBase::PopLocalMinima(int64_t y, LocalMinima*& local_minima)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected