MeshLib C++ Docs
Loading...
Searching...
No Matches
MRPointsToMeshProjector.h File Reference
#include "MRMeshFwd.h"
#include "MRVector.h"

Go to the source code of this file.

Classes

struct  MRMeshProjectionParameters
 parameters for mrFindSignedDistances More...
 

Typedefs

typedef MR_EXTERN_C_BEGIN struct MRMeshProjectionParameters MRMeshProjectionParameters
 parameters for mrFindSignedDistances
 

Functions

MRMESHC_API MRMeshProjectionParameters mrMeshProjectionParametersNew (void)
 initializes a default instance
 
MRMESHC_API MRScalars * mrFindSignedDistances (const MRMesh *refMesh, const MRMesh *mesh, const MRMeshProjectionParameters *params)
 

Typedef Documentation

◆ MRMeshProjectionParameters

typedef MR_EXTERN_C_BEGIN struct MRMeshProjectionParameters MRMeshProjectionParameters

parameters for mrFindSignedDistances

Function Documentation

◆ mrFindSignedDistances()

MRMESHC_API MRScalars * mrFindSignedDistances ( const MRMesh * refMesh,
const MRMesh * mesh,
const MRMeshProjectionParameters * params )

Computes signed distances from valid vertices of test mesh to the closest point on the reference mesh: positive value - outside reference mesh, negative - inside reference mesh; this method can return wrong sign if the closest point is located on self-intersecting part of the mesh

◆ mrMeshProjectionParametersNew()

MRMESHC_API MRMeshProjectionParameters mrMeshProjectionParametersNew ( void )

initializes a default instance