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

Method transform

source/MRMesh/MRMesh.cpp:237–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237void Mesh::transform( const AffineXf3f& xf, const VertBitSet* region )
238{
239 MR_TIMER;
240
241 BitSetParallelFor( topology.getVertIds( region ), [&] ( const VertId v )
242 {
243 points[v] = xf( points[v] );
244 } );
245 invalidateCaches();
246}
247
248VertId Mesh::addPoint( const Vector3f & pos )
249{

Callers 15

test_make_cubeFunction · 0.45
test_overhangsFunction · 0.45
test_booleanFunction · 0.45
test_denseboxFunction · 0.45
test_mesh_projectionsFunction · 0.45
test_collisionFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls 1

BitSetParallelForFunction · 0.85

Tested by 15

test_make_cubeFunction · 0.36
test_overhangsFunction · 0.36
test_booleanFunction · 0.36
test_denseboxFunction · 0.36
test_mesh_projectionsFunction · 0.36
test_collisionFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TestOperationsMethod · 0.36