MeshLib
 
Loading...
Searching...
No Matches
MRMeshProject.h File Reference
#include "MRMeshFwd.h"
#include "MRAffineXf.h"
#include "MRMeshPart.h"
#include "MRMeshTriPoint.h"
#include "MRPointOnFace.h"

Go to the source code of this file.

Classes

struct  MRMeshProjectionResult
 
struct  MRFindProjectionParameters
 optional parameters for mrFindProjection More...
 

Typedefs

typedef MR_EXTERN_C_BEGIN struct MRMeshProjectionResult MRMeshProjectionResult
 
typedef struct MRFindProjectionParameters MRFindProjectionParameters
 optional parameters for mrFindProjection
 

Functions

MRMESHC_API MRFindProjectionParameters mrFindProjectionParametersNew (void)
 creates a default instance
 
MRMESHC_API MRMeshProjectionResult mrFindProjection (const MRVector3f *pt, const MRMeshPart *mp, const MRFindProjectionParameters *params)
 computes the closest point on mesh (or its region) to given point
 

Typedef Documentation

◆ MRFindProjectionParameters

typedef struct MRFindProjectionParameters MRFindProjectionParameters

optional parameters for mrFindProjection

◆ MRMeshProjectionResult

typedef MR_EXTERN_C_BEGIN struct MRMeshProjectionResult MRMeshProjectionResult

Function Documentation

◆ mrFindProjection()

MRMESHC_API MRMeshProjectionResult mrFindProjection ( const MRVector3f * pt,
const MRMeshPart * mp,
const MRFindProjectionParameters * params )

computes the closest point on mesh (or its region) to given point

◆ mrFindProjectionParametersNew()

MRMESHC_API MRFindProjectionParameters mrFindProjectionParametersNew ( void )

creates a default instance