MeshLib C++ Docs
Loading...
Searching...
No Matches
MRDirMaxBruteForce.h File Reference
#include "MRMeshFwd.h"
#include "MRMinMaxArg.h"

Go to the source code of this file.

Namespaces

namespace  MR
 

Functions

MRMESH_API VertId MR::findDirMaxBruteForce (const Vector3f &dir, const VertCoords &points, const VertBitSet *region=nullptr)
 finds the point having the largest projection on given direction by traversing all region points
 
MRMESH_API VertId MR::findDirMaxBruteForce (const Vector2f &dir, const VertCoords2 &points, const VertBitSet *region=nullptr)
 finds the point having the largest projection on given direction by traversing all region points
 
MRMESH_API VertId MR::findDirMaxBruteForce (const Vector3f &dir, const PointCloud &cloud, const VertBitSet *region=nullptr)
 finds the point in the cloud having the largest projection on given direction by traversing all valid points
 
MRMESH_API VertId MR::findDirMaxBruteForce (const Vector3f &dir, const Polyline3 &polyline)
 finds the vertex in the polyline having the largest projection on given direction by traversing all valid vertices
 
MRMESH_API VertId MR::findDirMaxBruteForce (const Vector2f &dir, const Polyline2 &polyline)
 finds the vertex in the polyline having the largest projection on given direction by traversing all valid vertices
 
MRMESH_API VertId MR::findDirMaxBruteForce (const Vector3f &dir, const MeshPart &mp)
 finds the vertex in the mesh part having the largest projection on given direction by traversing all (region) faces
 
MRMESH_API VertId MR::findDirMaxBruteForce (const Vector3f &dir, const MeshVertPart &mp)
 finds the vertex in the mesh part having the largest projection on given direction by traversing all (region) vertices
 
MRMESH_API MinMaxArg< float, VertId > MR::findDirMinMaxBruteForce (const Vector3f &dir, const VertCoords &points, const VertBitSet *region=nullptr)
 finds the points having the smallest and the largest projections on given direction by traversing all region points
 
MRMESH_API MinMaxArg< float, VertId > MR::findDirMinMaxBruteForce (const Vector2f &dir, const VertCoords2 &points, const VertBitSet *region=nullptr)
 finds the points having the smallest and the largest projections on given direction by traversing all region points
 
MRMESH_API MinMaxArg< float, VertId > MR::findDirMinMaxBruteForce (const Vector3f &dir, const PointCloud &cloud, const VertBitSet *region=nullptr)
 finds the points in the cloud having the smallest and the largest projections on given direction by traversing all valid points
 
MRMESH_API MinMaxArg< float, VertId > MR::findDirMinMaxBruteForce (const Vector3f &dir, const Polyline3 &polyline)
 finds the vertex in the polyline having the smallest and the largest projections on given direction by traversing all valid vertices
 
MRMESH_API MinMaxArg< float, VertId > MR::findDirMinMaxBruteForce (const Vector2f &dir, const Polyline2 &polyline)
 finds the vertex in the polyline having the smallest and the largest projections on given direction by traversing all valid vertices
 
MRMESH_API MinMaxArg< float, VertId > MR::findDirMinMaxBruteForce (const Vector3f &dir, const MeshPart &mp)
 finds the vertices in the mesh part having the smallest and the largest projections on given direction by traversing all (region) faces
 
MRMESH_API MinMaxArg< float, VertId > MR::findDirMinMaxBruteForce (const Vector3f &dir, const MeshVertPart &mp)
 finds the vertices in the mesh part having the smallest and the largest projections on given direction by traversing all (region) vertices