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

Go to the source code of this file.

Typedefs

typedef struct MR_MinMaxArg_float_MR_VertId MR_MinMaxArg_float_MR_VertId

Functions

MRC_API MR_VertId MR_findDirMaxBruteForce_3_const_MR_Vector3f_ref_MR_VertCoords (const MR_Vector3f *dir, const MR_VertCoords *points, const MR_VertBitSet *region)
MRC_API MR_VertId MR_findDirMaxBruteForce_3_const_MR_Vector2f_ref (const MR_Vector2f *dir, const MR_VertCoords2 *points, const MR_VertBitSet *region)
MRC_API MR_VertId MR_findDirMaxBruteForce_3_const_MR_Vector3f_ref_MR_PointCloud (const MR_Vector3f *dir, const MR_PointCloud *cloud, const MR_VertBitSet *region)
MRC_API MR_VertId MR_findDirMaxBruteForce_2_const_MR_Vector3f_ref_MR_Polyline3 (const MR_Vector3f *dir, const MR_Polyline3 *polyline)
MRC_API MR_VertId MR_findDirMaxBruteForce_2_const_MR_Vector2f_ref (const MR_Vector2f *dir, const MR_Polyline2 *polyline)
MRC_API MR_VertId MR_findDirMaxBruteForce_2_const_MR_Vector3f_ref_MR_MeshPart (const MR_Vector3f *dir, const MR_MeshPart *mp)
MRC_API MR_VertId MR_findDirMaxBruteForce_2_const_MR_Vector3f_ref_MR_MeshVertPart (const MR_Vector3f *dir, const MR_MeshVertPart *mp)
MRC_API MR_MinMaxArg_float_MR_VertIdMR_findDirMinMaxBruteForce_3_const_MR_Vector3f_ref_MR_VertCoords (const MR_Vector3f *dir, const MR_VertCoords *points, const MR_VertBitSet *region)
MRC_API MR_MinMaxArg_float_MR_VertIdMR_findDirMinMaxBruteForce_3_const_MR_Vector2f_ref (const MR_Vector2f *dir, const MR_VertCoords2 *points, const MR_VertBitSet *region)
MRC_API MR_MinMaxArg_float_MR_VertIdMR_findDirMinMaxBruteForce_3_const_MR_Vector3f_ref_MR_PointCloud (const MR_Vector3f *dir, const MR_PointCloud *cloud, const MR_VertBitSet *region)
MRC_API MR_MinMaxArg_float_MR_VertIdMR_findDirMinMaxBruteForce_2_const_MR_Vector3f_ref_MR_Polyline3 (const MR_Vector3f *dir, const MR_Polyline3 *polyline)
MRC_API MR_MinMaxArg_float_MR_VertIdMR_findDirMinMaxBruteForce_2_const_MR_Vector2f_ref (const MR_Vector2f *dir, const MR_Polyline2 *polyline)
MRC_API MR_MinMaxArg_float_MR_VertIdMR_findDirMinMaxBruteForce_2_const_MR_Vector3f_ref_MR_MeshPart (const MR_Vector3f *dir, const MR_MeshPart *mp)
MRC_API MR_MinMaxArg_float_MR_VertIdMR_findDirMinMaxBruteForce_2_const_MR_Vector3f_ref_MR_MeshVertPart (const MR_Vector3f *dir, const MR_MeshVertPart *mp)

Typedef Documentation

◆ MR_MinMaxArg_float_MR_VertId

minimum and maximum of some elements of type T, and the indices of where minimum and maximum are reached of type I Generated from class MR::MinMaxArg<float, MR::VertId>. 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_findDirMaxBruteForce_2_const_MR_Vector2f_ref()

MRC_API MR_VertId MR_findDirMaxBruteForce_2_const_MR_Vector2f_ref ( const MR_Vector2f * dir,
const MR_Polyline2 * polyline )

finds the vertex in the polyline having the largest projection on given direction by traversing all valid vertices Generated from function MR::findDirMaxBruteForce. Parameter dir can not be null. It is a single object. Parameter polyline can not be null. It is a single object.

◆ MR_findDirMaxBruteForce_2_const_MR_Vector3f_ref_MR_MeshPart()

MRC_API MR_VertId MR_findDirMaxBruteForce_2_const_MR_Vector3f_ref_MR_MeshPart ( const MR_Vector3f * dir,
const MR_MeshPart * mp )

finds the vertex in the mesh part having the largest projection on given direction by traversing all (region) faces Generated from function MR::findDirMaxBruteForce. Parameter dir can not be null. It is a single object. Parameter mp can not be null. It is a single object.

◆ MR_findDirMaxBruteForce_2_const_MR_Vector3f_ref_MR_MeshVertPart()

MRC_API MR_VertId MR_findDirMaxBruteForce_2_const_MR_Vector3f_ref_MR_MeshVertPart ( const MR_Vector3f * dir,
const MR_MeshVertPart * mp )

finds the vertex in the mesh part having the largest projection on given direction by traversing all (region) vertices Generated from function MR::findDirMaxBruteForce. Parameter dir can not be null. It is a single object. Parameter mp can not be null. It is a single object.

◆ MR_findDirMaxBruteForce_2_const_MR_Vector3f_ref_MR_Polyline3()

MRC_API MR_VertId MR_findDirMaxBruteForce_2_const_MR_Vector3f_ref_MR_Polyline3 ( const MR_Vector3f * dir,
const MR_Polyline3 * polyline )

finds the vertex in the polyline having the largest projection on given direction by traversing all valid vertices Generated from function MR::findDirMaxBruteForce. Parameter dir can not be null. It is a single object. Parameter polyline can not be null. It is a single object.

◆ MR_findDirMaxBruteForce_3_const_MR_Vector2f_ref()

MRC_API MR_VertId MR_findDirMaxBruteForce_3_const_MR_Vector2f_ref ( const MR_Vector2f * dir,
const MR_VertCoords2 * points,
const MR_VertBitSet * region )

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

◆ MR_findDirMaxBruteForce_3_const_MR_Vector3f_ref_MR_PointCloud()

MRC_API MR_VertId MR_findDirMaxBruteForce_3_const_MR_Vector3f_ref_MR_PointCloud ( const MR_Vector3f * dir,
const MR_PointCloud * cloud,
const MR_VertBitSet * region )

finds the point in the cloud having the largest projection on given direction by traversing all valid points Generated from function MR::findDirMaxBruteForce. 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++.

◆ MR_findDirMaxBruteForce_3_const_MR_Vector3f_ref_MR_VertCoords()

MRC_API MR_VertId MR_findDirMaxBruteForce_3_const_MR_Vector3f_ref_MR_VertCoords ( const MR_Vector3f * dir,
const MR_VertCoords * points,
const MR_VertBitSet * region )

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

◆ MR_findDirMinMaxBruteForce_2_const_MR_Vector2f_ref()

MRC_API MR_MinMaxArg_float_MR_VertId * MR_findDirMinMaxBruteForce_2_const_MR_Vector2f_ref ( const MR_Vector2f * dir,
const MR_Polyline2 * polyline )

finds the vertex in the polyline having the smallest and the largest projections on given direction by traversing all valid vertices Generated from function MR::findDirMinMaxBruteForce. Parameter dir can not be null. It is a single object. Parameter polyline can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_MinMaxArg_float_MR_VertId_Destroy() to free it when you're done using it.

◆ MR_findDirMinMaxBruteForce_2_const_MR_Vector3f_ref_MR_MeshPart()

MRC_API MR_MinMaxArg_float_MR_VertId * MR_findDirMinMaxBruteForce_2_const_MR_Vector3f_ref_MR_MeshPart ( const MR_Vector3f * dir,
const MR_MeshPart * mp )

finds the vertices in the mesh part having the smallest and the largest projections on given direction by traversing all (region) faces Generated from function MR::findDirMinMaxBruteForce. Parameter dir can not be null. It is a single object. Parameter mp can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_MinMaxArg_float_MR_VertId_Destroy() to free it when you're done using it.

◆ MR_findDirMinMaxBruteForce_2_const_MR_Vector3f_ref_MR_MeshVertPart()

MRC_API MR_MinMaxArg_float_MR_VertId * MR_findDirMinMaxBruteForce_2_const_MR_Vector3f_ref_MR_MeshVertPart ( const MR_Vector3f * dir,
const MR_MeshVertPart * mp )

finds the vertices in the mesh part having the smallest and the largest projections on given direction by traversing all (region) vertices Generated from function MR::findDirMinMaxBruteForce. Parameter dir can not be null. It is a single object. Parameter mp can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_MinMaxArg_float_MR_VertId_Destroy() to free it when you're done using it.

◆ MR_findDirMinMaxBruteForce_2_const_MR_Vector3f_ref_MR_Polyline3()

MRC_API MR_MinMaxArg_float_MR_VertId * MR_findDirMinMaxBruteForce_2_const_MR_Vector3f_ref_MR_Polyline3 ( const MR_Vector3f * dir,
const MR_Polyline3 * polyline )

finds the vertex in the polyline having the smallest and the largest projections on given direction by traversing all valid vertices Generated from function MR::findDirMinMaxBruteForce. Parameter dir can not be null. It is a single object. Parameter polyline can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_MinMaxArg_float_MR_VertId_Destroy() to free it when you're done using it.

◆ MR_findDirMinMaxBruteForce_3_const_MR_Vector2f_ref()

MRC_API MR_MinMaxArg_float_MR_VertId * MR_findDirMinMaxBruteForce_3_const_MR_Vector2f_ref ( const MR_Vector2f * dir,
const MR_VertCoords2 * points,
const MR_VertBitSet * region )

finds the points having the smallest and the largest projections on given direction by traversing all region points Generated from function MR::findDirMinMaxBruteForce. Parameter dir can not be null. It is a single object. Parameter points can not be null. It is a single object. Parameter region defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_MinMaxArg_float_MR_VertId_Destroy() to free it when you're done using it.

◆ MR_findDirMinMaxBruteForce_3_const_MR_Vector3f_ref_MR_PointCloud()

MRC_API MR_MinMaxArg_float_MR_VertId * MR_findDirMinMaxBruteForce_3_const_MR_Vector3f_ref_MR_PointCloud ( const MR_Vector3f * dir,
const MR_PointCloud * cloud,
const MR_VertBitSet * region )

finds the points in the cloud having the smallest and the largest projections on given direction by traversing all valid points Generated from function MR::findDirMinMaxBruteForce. 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++. Never returns null. Returns an instance allocated on the heap! Must call MR_MinMaxArg_float_MR_VertId_Destroy() to free it when you're done using it.

◆ MR_findDirMinMaxBruteForce_3_const_MR_Vector3f_ref_MR_VertCoords()

MRC_API MR_MinMaxArg_float_MR_VertId * MR_findDirMinMaxBruteForce_3_const_MR_Vector3f_ref_MR_VertCoords ( const MR_Vector3f * dir,
const MR_VertCoords * points,
const MR_VertBitSet * region )

finds the points having the smallest and the largest projections on given direction by traversing all region points Generated from function MR::findDirMinMaxBruteForce. Parameter dir can not be null. It is a single object. Parameter points can not be null. It is a single object. Parameter region defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_MinMaxArg_float_MR_VertId_Destroy() to free it when you're done using it.