MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / insert

Method insert

source/MRMesh/MRColorMapAggregator.cpp:28–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27template<typename Tag>
28void ColorMapAggregator<Tag>::insert( int i, const PartialColorMap& partitialColorMap )
29{
30 assert( i <= dataSet_.size() );
31 assert( checkInputData_( partitialColorMap ) );
32 if ( partitialColorMap.elements.none() )
33 dataSet_.insert( dataSet_.begin() + i, {} );
34 else
35 {
36 dataSet_.insert( dataSet_.begin() + i, partitialColorMap );
37 needUpdate_ = true;
38 }
39}
40
41template<typename Tag>
42void ColorMapAggregator<Tag>::replace( int i, const PartialColorMap& partitialColorMap )

Callers 15

__init__.pyFile · 0.80
actionMethod · 0.80
mcpSceneGetObjectFunction · 0.80
mcpSceneAddObjectFunction · 0.80
pushRecentItemMethod · 0.80
setMouseControlMethod · 0.80
addItemMethod · 0.80
readUIJson_Method · 0.80
findIncidentFacesFunction · 0.80
getSystemLocalesMethod · 0.80
mergeSubtreeFunction · 0.80
storeFileMethod · 0.80

Calls 3

noneMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected