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

Method updatePositionAndRadius_

source/MRViewer/MRSurfacePointPicker.cpp:272–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272void SurfacePointWidget::updatePositionAndRadius_()
273{
274 if ( const MeshTriPoint* triPoint = std::get_if<MeshTriPoint>( &currentPos_ ) )
275 updatePositionAndRadiusMesh_( *triPoint );
276
277 if ( auto p = findCoords() )
278 {
279 pickSphere_->setCenter( *p );
280 setPointRadius_();
281 }
282}
283
284void SurfacePointWidget::setPointRadius_()
285{

Callers

nothing calls this directly

Calls 2

findCoordsFunction · 0.85
setCenterMethod · 0.45

Tested by

no test coverage detected