DAVID4 SDK
1.8.7
|
Interface for 'Measurement' functions. More...
#include <IMeasure.h>
Public Member Functions | |
virtual | ~IMeasure () |
Destructor. | |
virtual void | ComputeSurfaceDistances (std::vector< float > &distances, int meshID1, int meshID2, double distThresh)=0 |
Computes signed distance between 'test object' and 'reference object'. More... | |
Interface for 'Measurement' functions.
Definition at line 29 of file IMeasure.h.
|
pure virtual |
Computes signed distance between 'test object' and 'reference object'.
For each vertex of mesh 'test object' the signed distance to the mesh 'reference object' is computed.
[out] | distances | Receives the distance values. One signed distance value for each vertex of 'test object'. |
[in] | meshID1 | ID of the mesh that is the test object. |
[in] | meshID2 | ID of the other mesh that is the reference object. |
[in] | distThresh | Distance threshold: Distance values are limited to the range [-distThresh, distThresh]. |
david::Error_InvalidMeshId | (david::FunctionException) Specified meshID does not exist. |
Implemented in david::MeasureJsonRpc.