MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / remove

Method remove

Cesium3DTilesSelection/src/RasterOverlayCollection.cpp:95–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void RasterOverlayCollection::remove(
96 const IntrusivePointer<const RasterOverlay>& pOverlay) noexcept {
97 auto it = std::find_if(
98 this->_activatedOverlays.begin(),
99 this->_activatedOverlays.end(),
100 [pOverlay](
101 const IntrusivePointer<ActivatedRasterOverlay>& pCheck) noexcept {
102 return &pCheck->getOverlay() == pOverlay;
103 });
104 if (it == this->_activatedOverlays.end()) {
105 return;
106 }
107
108 this->remove(*it);
109}
110
111void RasterOverlayCollection::remove(
112 const IntrusivePointer<RasterOverlay>& pOverlay) noexcept {

Calls 6

getLoadingTileMethod · 0.80
getReadyTileMethod · 0.80
detachFromTileMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected