MeshLib C Docs
Loading...
Searching...
No Matches
MRClosestPointInTriangle.h File Reference
#include <MRCMisc/exports.h>

Go to the source code of this file.

Typedefs

typedef struct MR_std_pair_MR_Vector3d_MR_TriPointd MR_std_pair_MR_Vector3d_MR_TriPointd
typedef struct MR_std_pair_MR_Vector3f_MR_TriPointf MR_std_pair_MR_Vector3f_MR_TriPointf

Functions

MRC_API MR_std_pair_MR_Vector3f_MR_TriPointfMR_closestPointInTriangle_float (const MR_Vector3f *p, const MR_Vector3f *a, const MR_Vector3f *b, const MR_Vector3f *c)
MRC_API MR_std_pair_MR_Vector3d_MR_TriPointdMR_closestPointInTriangle_double (const MR_Vector3d *p, const MR_Vector3d *a, const MR_Vector3d *b, const MR_Vector3d *c)

Typedef Documentation

◆ MR_std_pair_MR_Vector3d_MR_TriPointd

Stores two objects: MR::Vector3d and MR::Vector3d. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_std_pair_MR_Vector3f_MR_TriPointf

Stores two objects: MR::Vector3f and MR::Vector3f. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

Function Documentation

◆ MR_closestPointInTriangle_double()

MRC_API MR_std_pair_MR_Vector3d_MR_TriPointd * MR_closestPointInTriangle_double ( const MR_Vector3d * p,
const MR_Vector3d * a,
const MR_Vector3d * b,
const MR_Vector3d * c )

Generated from function MR::closestPointInTriangle<double>. Parameter p can not be null. It is a single object. Parameter a can not be null. It is a single object. Parameter b can not be null. It is a single object. Parameter c can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_pair_MR_Vector3d_MR_TriPointd_Destroy() to free it when you're done using it.

◆ MR_closestPointInTriangle_float()

MRC_API MR_std_pair_MR_Vector3f_MR_TriPointf * MR_closestPointInTriangle_float ( const MR_Vector3f * p,
const MR_Vector3f * a,
const MR_Vector3f * b,
const MR_Vector3f * c )

Generated from function MR::closestPointInTriangle<float>. Parameter p can not be null. It is a single object. Parameter a can not be null. It is a single object. Parameter b can not be null. It is a single object. Parameter c can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_pair_MR_Vector3f_MR_TriPointf_Destroy() to free it when you're done using it.