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

Method Src2TgtMaps

source/MRMesh/MRPartMappingAdapters.cpp:7–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5{
6
7Src2TgtMaps::Src2TgtMaps( FaceMap * outFmap, VertMap * outVmap, WholeEdgeMap * outEmap )
8 : outFmap_( outFmap ), outVmap_( outVmap ), outEmap_( outEmap )
9{
10 if ( outFmap )
11 {
12 src2tgtFaces_.setMap( std::move( *outFmap_ ) );
13 map_.src2tgtFaces = &src2tgtFaces_;
14 }
15 if ( outVmap )
16 {
17 src2tgtVerts_.setMap( std::move( *outVmap_ ) );
18 map_.src2tgtVerts = &src2tgtVerts_;
19 }
20 if ( outEmap )
21 {
22 src2tgtEdges_.setMap( std::move( *outEmap_ ) );
23 map_.src2tgtEdges = &src2tgtEdges_;
24 }
25}
26
27Src2TgtMaps::~Src2TgtMaps()
28{

Callers

nothing calls this directly

Calls 1

setMapMethod · 0.80

Tested by

no test coverage detected