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

Method shallowClone

source/MRMesh/MRObjectGcode.cpp:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32std::shared_ptr<Object> ObjectGcode::shallowClone() const
33{
34 auto res = std::make_shared<ObjectGcode>( ProtectedStruct{}, *this );
35 if ( gcodeSource_ )
36 res->setGcodeSource( gcodeSource_ );
37 return res;
38}
39
40void ObjectGcode::setCNCMachineSettings( const CNCMachineSettings& cncSettings )
41{

Callers

nothing calls this directly

Calls 1

setGcodeSourceMethod · 0.45

Tested by

no test coverage detected