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

Go to the source code of this file.

Typedefs

typedef struct MR_GeneralOffsetParameters MR_GeneralOffsetParameters
 
typedef struct MR_MeshPart MR_MeshPart
 
typedef struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string
 

Functions

MRC_API MR_expected_MR_Mesh_std_stringMR_partialOffsetMesh (const MR_MeshPart *mp, float offset, const MR_GeneralOffsetParameters *params)
 

Typedef Documentation

◆ MR_expected_MR_Mesh_std_string

◆ MR_GeneralOffsetParameters

◆ MR_MeshPart

typedef struct MR_MeshPart MR_MeshPart

Function Documentation

◆ MR_partialOffsetMesh()

MRC_API MR_expected_MR_Mesh_std_string * MR_partialOffsetMesh ( const MR_MeshPart * mp,
float offset,
const MR_GeneralOffsetParameters * params )

Offsets mesh part by converting it to voxels and back and unite it with original mesh (via boolean) note: only OffsetParameters.signDetectionMode = SignDetectionMode::Unsigned will work in this function Generated from function MR::partialOffsetMesh. Parameter mp can not be null. It is a single object. Parameter params is a single object. Parameter params has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_Mesh_std_string_Destroy() to free it when you're done using it.