struct MR_AABBTree MR_AABBTree
Definition MRAABBTree.h:23
struct MR_MeshPart MR_MeshPart
Definition MRAABBTree.h:14
struct MR_MeshTriPoint MR_MeshTriPoint
Definition MRAggregateFlow.h:13
struct MR_Ball3f MR_Ball3f
Definition MRBall.h:34
struct MR_std_function_bool_from_MR_FaceId MR_std_function_bool_from_MR_FaceId
Definition MREnumNeighbours.h:18
struct MR_PointOnFace MR_PointOnFace
Definition MREnumNeighbours.h:15
MRC_API MR_SignedDistanceToMeshResult * MR_SignedDistanceToMeshResult_ConstructFrom(const MR_PointOnFace *proj, const MR_MeshTriPoint *mtp, float dist)
MRC_API MR_MeshProjectionResult * MR_MeshProjectionResult_AssignFromAnother(MR_MeshProjectionResult *_this, const MR_MeshProjectionResult *_other)
MRC_API MR_MeshProjectionTransforms * MR_MeshProjectionTransforms_ConstructFromAnother(const MR_MeshProjectionTransforms *_other)
MRC_API MR_MeshProjectionResult * MR_MeshProjectionResult_OffsetMutablePtr(MR_MeshProjectionResult *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_MeshProjectionResult * MR_MeshProjectionResult_ConstructFrom(const MR_PointOnFace *proj, const MR_MeshTriPoint *mtp, float distSq)
MRC_API void MR_MeshProjectionResult_Set_distSq(MR_MeshProjectionResult *_this, float value)
MRC_API const MR_AffineXf3f *const * MR_MeshProjectionTransforms_Get_rigidXfPoint(const MR_MeshProjectionTransforms *_this)
MRC_API void MR_findBoxedTrisInBall(const MR_MeshPart *mp, const MR_Ball3f *ball, const MR_std_function_MR_Processing_from_MR_FaceId_MR_Ball3f_ref *foundCallback)
MRC_API MR_PointOnFace * MR_SignedDistanceToMeshResult_GetMutable_proj(MR_SignedDistanceToMeshResult *_this)
MRC_API void MR_MeshProjectionResult_Destroy(const MR_MeshProjectionResult *_this)
Destroys a heap-allocated instance of MR_MeshProjectionResult. Does nothing if the pointer is null.
struct MR_std_optional_MR_SignedDistanceToMeshResult MR_std_optional_MR_SignedDistanceToMeshResult
Definition MRMeshProject.h:23
MRC_API const MR_MeshProjectionTransforms * MR_MeshProjectionTransforms_OffsetPtr(const MR_MeshProjectionTransforms *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_PointOnFace * MR_MeshProjectionResult_GetMutable_proj(MR_MeshProjectionResult *_this)
MRC_API void MR_SignedDistanceToMeshResult_Set_dist(MR_SignedDistanceToMeshResult *_this, float value)
MRC_API void MR_findTrisInBall(const MR_MeshPart *mp, const MR_Ball3f *ball, const MR_std_function_MR_Processing_from_const_MR_MeshProjectionResult_ref_MR_Ball3f_ref *foundCallback, const MR_std_function_bool_from_MR_FaceId *validFaces)
MRC_API MR_SignedDistanceToMeshResult * MR_SignedDistanceToMeshResult_DefaultConstructArray(size_t num_elems)
MRC_API MR_MeshProjectionTransforms * MR_MeshProjectionTransforms_DefaultConstructArray(size_t num_elems)
MRC_API const MR_MeshTriPoint * MR_MeshProjectionResult_Get_mtp(const MR_MeshProjectionResult *_this)
MRC_API MR_MeshProjectionTransforms * MR_MeshProjectionTransforms_ConstructFrom(const MR_AffineXf3f *rigidXfPoint, const MR_AffineXf3f *nonRigidXfTree)
MRC_API void MR_MeshProjectionTransforms_DestroyArray(const MR_MeshProjectionTransforms *_this)
Destroys a heap-allocated array of MR_MeshProjectionTransforms. Does nothing if the pointer is null.
MRC_API void MR_MeshProjectionTransforms_Destroy(const MR_MeshProjectionTransforms *_this)
Destroys a heap-allocated instance of MR_MeshProjectionTransforms. Does nothing if the pointer is nul...
MRC_API const float * MR_MeshProjectionResult_Get_distSq(const MR_MeshProjectionResult *_this)
MRC_API void MR_MeshProjectionResult_DestroyArray(const MR_MeshProjectionResult *_this)
Destroys a heap-allocated array of MR_MeshProjectionResult. Does nothing if the pointer is null.
MRC_API MR_SignedDistanceToMeshResult * MR_SignedDistanceToMeshResult_ConstructFromAnother(const MR_SignedDistanceToMeshResult *_other)
struct MR_std_function_MR_Processing_from_const_MR_MeshProjectionResult_ref_MR_Ball3f_ref MR_std_function_MR_Processing_from_const_MR_MeshProjectionResult_ref_MR_Ball3f_ref
Definition MRMeshProject.h:20
MRC_API MR_MeshProjectionTransforms * MR_MeshProjectionTransforms_DefaultConstruct(void)
struct MR_SignedDistanceToMeshResult MR_SignedDistanceToMeshResult
Generated from class MR::SignedDistanceToMeshResult.
Definition MRMeshProject.h:33
MRC_API const MR_PointOnFace * MR_SignedDistanceToMeshResult_Get_proj(const MR_SignedDistanceToMeshResult *_this)
MRC_API const MR_AffineXf3f *const * MR_MeshProjectionTransforms_Get_nonRigidXfTree(const MR_MeshProjectionTransforms *_this)
MRC_API const MR_MeshProjectionResult * MR_MeshProjectionResult_OffsetPtr(const MR_MeshProjectionResult *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API const MR_AffineXf3f ** MR_MeshProjectionTransforms_GetMutable_nonRigidXfTree(MR_MeshProjectionTransforms *_this)
MRC_API void MR_SignedDistanceToMeshResult_Set_proj(MR_SignedDistanceToMeshResult *_this, const MR_PointOnFace *value)
MRC_API MR_MeshProjectionResult * MR_findProjectionSubtree(const MR_Vector3f *pt, const MR_MeshPart *mp, const MR_AABBTree *tree, const float *upDistLimitSq, const MR_AffineXf3f *xf, const float *loDistLimitSq, const MR_std_function_bool_from_MR_FaceId *validFaces, const MR_std_function_bool_from_const_MR_MeshProjectionResult_ref *validProjections)
computes the closest point on mesh (or its region) to given point
MRC_API const MR_AffineXf3f ** MR_MeshProjectionTransforms_GetMutable_rigidXfPoint(MR_MeshProjectionTransforms *_this)
MRC_API MR_SignedDistanceToMeshResult * MR_SignedDistanceToMeshResult_DefaultConstruct(void)
MRC_API void MR_SignedDistanceToMeshResult_Destroy(const MR_SignedDistanceToMeshResult *_this)
Destroys a heap-allocated instance of MR_SignedDistanceToMeshResult. Does nothing if the pointer is n...
MRC_API MR_SignedDistanceToMeshResult * MR_SignedDistanceToMeshResult_OffsetMutablePtr(MR_SignedDistanceToMeshResult *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_SignedDistanceToMeshResult_Set_mtp(MR_SignedDistanceToMeshResult *_this, const MR_MeshTriPoint *value)
MRC_API bool MR_MeshProjectionResult_ConvertTo_bool(const MR_MeshProjectionResult *_this)
MRC_API MR_MeshProjectionTransforms * MR_MeshProjectionTransforms_AssignFromAnother(MR_MeshProjectionTransforms *_this, const MR_MeshProjectionTransforms *_other)
MRC_API const MR_PointOnFace * MR_MeshProjectionResult_Get_proj(const MR_MeshProjectionResult *_this)
MRC_API float * MR_MeshProjectionResult_GetMutable_distSq(MR_MeshProjectionResult *_this)
MRC_API void MR_MeshProjectionTransforms_Set_rigidXfPoint(MR_MeshProjectionTransforms *_this, const MR_AffineXf3f *value)
MRC_API void MR_MeshProjectionTransforms_Set_nonRigidXfTree(MR_MeshProjectionTransforms *_this, const MR_AffineXf3f *value)
MRC_API MR_MeshTriPoint * MR_SignedDistanceToMeshResult_GetMutable_mtp(MR_SignedDistanceToMeshResult *_this)
MRC_API void MR_SignedDistanceToMeshResult_DestroyArray(const MR_SignedDistanceToMeshResult *_this)
Destroys a heap-allocated array of MR_SignedDistanceToMeshResult. Does nothing if the pointer is null...
MRC_API const MR_SignedDistanceToMeshResult * MR_SignedDistanceToMeshResult_OffsetPtr(const MR_SignedDistanceToMeshResult *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_MeshProjectionResult * MR_MeshProjectionResult_ConstructFromAnother(const MR_MeshProjectionResult *_other)
MRC_API float * MR_SignedDistanceToMeshResult_GetMutable_dist(MR_SignedDistanceToMeshResult *_this)
MRC_API void MR_MeshProjectionResult_Set_proj(MR_MeshProjectionResult *_this, const MR_PointOnFace *value)
MRC_API void MR_MeshProjectionResult_Set_mtp(MR_MeshProjectionResult *_this, const MR_MeshTriPoint *value)
MRC_API MR_MeshTriPoint * MR_MeshProjectionResult_GetMutable_mtp(MR_MeshProjectionResult *_this)
MRC_API const float * MR_SignedDistanceToMeshResult_Get_dist(const MR_SignedDistanceToMeshResult *_this)
struct MR_std_function_bool_from_const_MR_MeshProjectionResult_ref MR_std_function_bool_from_const_MR_MeshProjectionResult_ref
Definition MRMeshProject.h:22
MRC_API const MR_MeshTriPoint * MR_SignedDistanceToMeshResult_Get_mtp(const MR_SignedDistanceToMeshResult *_this)
MRC_API MR_MeshProjectionResult * MR_MeshProjectionResult_DefaultConstruct(void)
MRC_API MR_MeshProjectionTransforms * MR_createProjectionTransforms(MR_AffineXf3f *storageXf, const MR_AffineXf3f *pointXf, const MR_AffineXf3f *treeXf)
Creates structure with simplified transforms for projection functions, with rigidXfPoint applied to p...
struct MR_std_function_MR_Processing_from_MR_FaceId_MR_Ball3f_ref MR_std_function_MR_Processing_from_MR_FaceId_MR_Ball3f_ref
Definition MRMeshProject.h:19
MRC_API MR_SignedDistanceToMeshResult * MR_SignedDistanceToMeshResult_AssignFromAnother(MR_SignedDistanceToMeshResult *_this, const MR_SignedDistanceToMeshResult *_other)
MRC_API MR_MeshProjectionResult * MR_MeshProjectionResult_DefaultConstructArray(size_t num_elems)
struct MR_MeshProjectionTransforms MR_MeshProjectionTransforms
Generated from class MR::MeshProjectionTransforms.
Definition MRMeshProject.h:30
MRC_API MR_std_optional_MR_SignedDistanceToMeshResult * MR_findSignedDistance_MR_Vector3f(const MR_Vector3f *pt, const MR_MeshPart *mp, const float *upDistLimitSq, const float *loDistLimitSq)
computes the closest point on mesh (or its region) to given point, and finds the distance with sign t...
MRC_API MR_MeshProjectionTransforms * MR_MeshProjectionTransforms_OffsetMutablePtr(MR_MeshProjectionTransforms *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API bool MR_MeshProjectionResult_valid(const MR_MeshProjectionResult *_this)
MRC_API MR_MeshProjectionResult * MR_findProjection(const MR_Vector3f *pt, const MR_MeshPart *mp, const float *upDistLimitSq, const MR_AffineXf3f *xf, const float *loDistLimitSq, const MR_std_function_bool_from_MR_FaceId *validFaces, const MR_std_function_bool_from_const_MR_MeshProjectionResult_ref *validProjections)
computes the closest point on mesh (or its region) to given point
struct MR_MeshProjectionResult MR_MeshProjectionResult
Definition MRMesh.h:27
#define MRC_API
Definition exports.h:11
Definition MRAffineXf.h:36
Definition MRVector3.h:51