MeshLib C Docs
Loading...
Searching...
No Matches
MRDirMax.h File Reference
#include <MRCMesh/MREnums.h>
#include <MRCMesh/MRId.h>
#include <MRCMisc/exports.h>

Go to the source code of this file.

Typedefs

typedef struct MR_MeshVertPart MR_MeshVertPart
typedef struct MR_Vector2f MR_Vector2f

Functions

MRC_API MR_VertId MR_findDirMax_3_const_MR_Vector3f_ref_MR_Mesh (const MR_Vector3f *dir, const MR_Mesh *m, const MR_UseAABBTree *u)
MRC_API MR_VertId MR_findDirMax_3_const_MR_Vector3f_ref_MR_MeshPart (const MR_Vector3f *dir, const MR_MeshPart *mp, const MR_UseAABBTree *u)
MRC_API MR_VertId MR_findDirMax_3_const_MR_Vector3f_ref_MR_MeshVertPart (const MR_Vector3f *dir, const MR_MeshVertPart *mp, const MR_UseAABBTree *u)
MRC_API MR_VertId MR_findDirMax_3_const_MR_Vector3f_ref_MR_Polyline3 (const MR_Vector3f *dir, const MR_Polyline3 *polyline, const MR_UseAABBTree *u)
MRC_API MR_VertId MR_findDirMax_3_const_MR_Vector2f_ref (const MR_Vector2f *dir, const MR_Polyline2 *polyline, const MR_UseAABBTree *u)
MRC_API MR_VertId MR_findDirMax_4 (const MR_Vector3f *dir, const MR_PointCloud *cloud, const MR_VertBitSet *region, const MR_UseAABBTree *u)
MRC_API MR_VertId MR_findDirMax_3_const_MR_Vector3f_ref_MR_AABBTreePoints (const MR_Vector3f *dir, const MR_AABBTreePoints *tree, const MR_VertBitSet *region)

Typedef Documentation

◆ MR_MeshVertPart

stores reference on whole mesh (if region is nullptr) or on its part (if region pointer is valid) Generated from class MR::MeshVertPart. Supported MR_PassBy modes: MR_PassBy_Copy (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_Vector2f

typedef struct MR_Vector2f MR_Vector2f

Function Documentation

◆ MR_findDirMax_3_const_MR_Vector2f_ref()

MRC_API MR_VertId MR_findDirMax_3_const_MR_Vector2f_ref ( const MR_Vector2f * dir,
const MR_Polyline2 * polyline,
const MR_UseAABBTree * u )

finds the vertex in the polyline having the largest projection on given direction, optionally uses aabb-tree inside for faster computation Generated from function MR::findDirMax. Parameter dir can not be null. It is a single object. Parameter polyline can not be null. It is a single object. Parameter u has a default argument: UseAABBTree::Yes, pass a null pointer to use it.

◆ MR_findDirMax_3_const_MR_Vector3f_ref_MR_AABBTreePoints()

MRC_API MR_VertId MR_findDirMax_3_const_MR_Vector3f_ref_MR_AABBTreePoints ( const MR_Vector3f * dir,
const MR_AABBTreePoints * tree,
const MR_VertBitSet * region )

finds the point in the tree having the largest projection on given direction Generated from function MR::findDirMax. Parameter dir can not be null. It is a single object. Parameter tree can not be null. It is a single object. Parameter region defaults to a null pointer in C++.

◆ MR_findDirMax_3_const_MR_Vector3f_ref_MR_Mesh()

MRC_API MR_VertId MR_findDirMax_3_const_MR_Vector3f_ref_MR_Mesh ( const MR_Vector3f * dir,
const MR_Mesh * m,
const MR_UseAABBTree * u )

finds the vertex in the mesh part having the largest projection on given direction, optionally uses aabb-tree inside for faster computation Generated from function MR::findDirMax. Parameter dir can not be null. It is a single object. Parameter m can not be null. It is a single object. Parameter u has a default argument: UseAABBTree::Yes, pass a null pointer to use it.

◆ MR_findDirMax_3_const_MR_Vector3f_ref_MR_MeshPart()

MRC_API MR_VertId MR_findDirMax_3_const_MR_Vector3f_ref_MR_MeshPart ( const MR_Vector3f * dir,
const MR_MeshPart * mp,
const MR_UseAABBTree * u )

finds the vertex in the mesh part having the largest projection on given direction, optionally uses aabb-tree inside for faster computation Generated from function MR::findDirMax. Parameter dir can not be null. It is a single object. Parameter mp can not be null. It is a single object. Parameter u has a default argument: UseAABBTree::Yes, pass a null pointer to use it.

◆ MR_findDirMax_3_const_MR_Vector3f_ref_MR_MeshVertPart()

MRC_API MR_VertId MR_findDirMax_3_const_MR_Vector3f_ref_MR_MeshVertPart ( const MR_Vector3f * dir,
const MR_MeshVertPart * mp,
const MR_UseAABBTree * u )

finds the vertex in the mesh part having the largest projection on given direction, optionally uses aabb-points-tree inside for faster computation Generated from function MR::findDirMax. Parameter dir can not be null. It is a single object. Parameter mp can not be null. It is a single object. Parameter u has a default argument: UseAABBTree::Yes, pass a null pointer to use it.

◆ MR_findDirMax_3_const_MR_Vector3f_ref_MR_Polyline3()

MRC_API MR_VertId MR_findDirMax_3_const_MR_Vector3f_ref_MR_Polyline3 ( const MR_Vector3f * dir,
const MR_Polyline3 * polyline,
const MR_UseAABBTree * u )

finds the vertex in the polyline having the largest projection on given direction, optionally uses aabb-tree inside for faster computation Generated from function MR::findDirMax. Parameter dir can not be null. It is a single object. Parameter polyline can not be null. It is a single object. Parameter u has a default argument: UseAABBTree::Yes, pass a null pointer to use it.

◆ MR_findDirMax_4()

MRC_API MR_VertId MR_findDirMax_4 ( const MR_Vector3f * dir,
const MR_PointCloud * cloud,
const MR_VertBitSet * region,
const MR_UseAABBTree * u )

finds the point in the cloud having the largest projection on given direction, optionally uses aabb-tree inside for faster computation Generated from function MR::findDirMax. Parameter dir can not be null. It is a single object. Parameter cloud can not be null. It is a single object. Parameter region defaults to a null pointer in C++. Parameter u has a default argument: UseAABBTree::Yes, pass a null pointer to use it.