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

Function pickedPointToVector3

source/MRMesh/MRPointOnObject.cpp:122–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122Vector3f pickedPointToVector3( const VisualObject* object, const PickedPoint& point )
123{
124 auto opt = getPickedPointPosition( *object, point );
125 if ( opt )
126 return *opt;
127 assert( false );
128 return {};
129}
130
131bool isPickedPointValid( const VisualObject* object, const PickedPoint& point )
132{

Callers

nothing calls this directly

Calls 1

getPickedPointPositionFunction · 0.85

Tested by

no test coverage detected