17 const VertBitSet* verts =
nullptr );
19[[deprecated(
"Use meshToPointCloud( mesh, VertNormalsMode, verts )" )]]
MRMESH_API MR_BIND_IGNORE
39[[deprecated(
"Use meshToDensePointCloud( mp, radius, VertNormalsMode, cb )" )]] [[nodiscard]]
MRMESH_API MR_BIND_IGNORE
#define MRMESH_API
Definition MRMeshFwd.h:85
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:790
tl::expected< T, E > Expected
Definition MRExpected.h:31
VertNormalsMode
which normals are given to the points of the cloud made from mesh vertices
Definition MREnums.h:70
@ AreaWeighted
area-weighted average of the normals of incident triangles, see computePerVertNormals
Definition MREnums.h:72
Expected< PointCloud > meshToDensePointCloud(const MeshPart &mp, float radius, VertNormalsMode normals=VertNormalsMode::AreaWeighted, const ProgressCallback &cb={})
PointCloud meshToPointCloud(const Mesh &mesh, VertNormalsMode normals=VertNormalsMode::AreaWeighted, const VertBitSet *verts=nullptr)
bool isCoveredByVertices(const MeshPart &mp, float radius)
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8
Definition MRPointCloud.h:17