MeshLib C Docs
Loading...
Searching...
No Matches
MRMeshToPointCloud.h File Reference
#include <MRCMisc/exports.h>
#include <stdbool.h>

Go to the source code of this file.

Functions

MRC_API MR_PointCloudMR_meshToPointCloud (const MR_Mesh *mesh, const bool *saveNormals, const MR_VertBitSet *verts)

Function Documentation

◆ MR_meshToPointCloud()

MRC_API MR_PointCloud * MR_meshToPointCloud ( const MR_Mesh * mesh,
const bool * saveNormals,
const MR_VertBitSet * verts )

Mesh to PointCloud Generated from function MR::meshToPointCloud. Parameter mesh can not be null. It is a single object. Parameter saveNormals has a default argument: true, pass a null pointer to use it. Parameter verts defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_PointCloud_Destroy() to free it when you're done using it.