MeshLib C Docs
Loading...
Searching...
No Matches
MRAlphaShape.h File Reference
#include <MRCMesh/MRId.h>
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef struct MR_ConvertToIntVector MR_ConvertToIntVector
typedef struct MR_PreciseVertCoords MR_PreciseVertCoords
typedef struct MR_Triangulation MR_Triangulation
 std::vector<T>-like container that requires specific indexing type,
typedef struct MR_Vector_MR_Vector3i_MR_VertId MR_Vector_MR_Vector3i_MR_VertId
 std::vector<T>-like container that requires specific indexing type,
typedef struct MR_std_optional_MR_Triangulation MR_std_optional_MR_Triangulation
typedef struct MR_std_vector_MR_AlphaShapeNei MR_std_vector_MR_AlphaShapeNei
typedef struct MR_std_vector_MR_MeshBuilder_VertDuplication MR_std_vector_MR_MeshBuilder_VertDuplication
typedef struct MR_AlphaShapeData MR_AlphaShapeData
typedef struct MR_AlphaShapeStats MR_AlphaShapeStats
typedef struct MR_AlphaShapeNei MR_AlphaShapeNei

Functions

MRC_API const MR_ConvertToIntVectorMR_AlphaShapeData_Get_toInt (const MR_AlphaShapeData *_this)
MRC_API void MR_AlphaShapeData_Set_toInt (MR_AlphaShapeData *_this, const MR_ConvertToIntVector *value)
MRC_API MR_ConvertToIntVectorMR_AlphaShapeData_GetMutable_toInt (MR_AlphaShapeData *_this)
MRC_API const MR_Vector_MR_Vector3i_MR_VertIdMR_AlphaShapeData_Get_intPoints (const MR_AlphaShapeData *_this)
MRC_API void MR_AlphaShapeData_Set_intPoints (MR_AlphaShapeData *_this, MR_PassBy value_pass_by, MR_Vector_MR_Vector3i_MR_VertId *value)
MRC_API MR_Vector_MR_Vector3i_MR_VertIdMR_AlphaShapeData_GetMutable_intPoints (MR_AlphaShapeData *_this)
MRC_API const int64_t * MR_AlphaShapeData_Get_intRadiusSq (const MR_AlphaShapeData *_this)
MRC_API void MR_AlphaShapeData_Set_intRadiusSq (MR_AlphaShapeData *_this, int64_t value)
MRC_API int64_t * MR_AlphaShapeData_GetMutable_intRadiusSq (MR_AlphaShapeData *_this)
MRC_API const float * MR_AlphaShapeData_Get_searchRadius (const MR_AlphaShapeData *_this)
MRC_API void MR_AlphaShapeData_Set_searchRadius (MR_AlphaShapeData *_this, float value)
MRC_API float * MR_AlphaShapeData_GetMutable_searchRadius (MR_AlphaShapeData *_this)
MRC_API MR_AlphaShapeDataMR_AlphaShapeData_DefaultConstruct (void)
MRC_API MR_AlphaShapeDataMR_AlphaShapeData_DefaultConstructArray (size_t num_elems)
MRC_API MR_AlphaShapeDataMR_AlphaShapeData_ConstructFrom (const MR_ConvertToIntVector *toInt, MR_PassBy intPoints_pass_by, MR_Vector_MR_Vector3i_MR_VertId *intPoints, int64_t intRadiusSq, float searchRadius)
MRC_API const MR_AlphaShapeDataMR_AlphaShapeData_OffsetPtr (const MR_AlphaShapeData *ptr, ptrdiff_t i)
MRC_API MR_AlphaShapeDataMR_AlphaShapeData_OffsetMutablePtr (MR_AlphaShapeData *ptr, ptrdiff_t i)
MRC_API MR_AlphaShapeDataMR_AlphaShapeData_ConstructFromAnother (MR_PassBy _other_pass_by, MR_AlphaShapeData *_other)
MRC_API void MR_AlphaShapeData_Destroy (const MR_AlphaShapeData *_this)
 Destroys a heap-allocated instance of MR_AlphaShapeData. Does nothing if the pointer is null.
MRC_API void MR_AlphaShapeData_DestroyArray (const MR_AlphaShapeData *_this)
 Destroys a heap-allocated array of MR_AlphaShapeData. Does nothing if the pointer is null.
MRC_API MR_AlphaShapeDataMR_AlphaShapeData_AssignFromAnother (MR_AlphaShapeData *_this, MR_PassBy _other_pass_by, MR_AlphaShapeData *_other)
MRC_API MR_PreciseVertCoordsMR_AlphaShapeData_coords (const MR_AlphaShapeData *_this, const MR_PointCloud *cloud, MR_VertId v)
MRC_API MR_AlphaShapeDataMR_getAlphaShapeData (const MR_PointCloud *cloud, float radius, bool allPoints)
MRC_API const size_t * MR_AlphaShapeStats_Get_collectedNeis (const MR_AlphaShapeStats *_this)
MRC_API void MR_AlphaShapeStats_Set_collectedNeis (MR_AlphaShapeStats *_this, size_t value)
MRC_API size_t * MR_AlphaShapeStats_GetMutable_collectedNeis (MR_AlphaShapeStats *_this)
MRC_API const size_t * MR_AlphaShapeStats_Get_redundancyTests (const MR_AlphaShapeStats *_this)
MRC_API void MR_AlphaShapeStats_Set_redundancyTests (MR_AlphaShapeStats *_this, size_t value)
MRC_API size_t * MR_AlphaShapeStats_GetMutable_redundancyTests (MR_AlphaShapeStats *_this)
MRC_API const size_t * MR_AlphaShapeStats_Get_redundantNeis (const MR_AlphaShapeStats *_this)
MRC_API void MR_AlphaShapeStats_Set_redundantNeis (MR_AlphaShapeStats *_this, size_t value)
MRC_API size_t * MR_AlphaShapeStats_GetMutable_redundantNeis (MR_AlphaShapeStats *_this)
MRC_API const size_t * MR_AlphaShapeStats_Get_consideredTris (const MR_AlphaShapeStats *_this)
MRC_API void MR_AlphaShapeStats_Set_consideredTris (MR_AlphaShapeStats *_this, size_t value)
MRC_API size_t * MR_AlphaShapeStats_GetMutable_consideredTris (MR_AlphaShapeStats *_this)
MRC_API const size_t * MR_AlphaShapeStats_Get_touchableTris (const MR_AlphaShapeStats *_this)
MRC_API void MR_AlphaShapeStats_Set_touchableTris (MR_AlphaShapeStats *_this, size_t value)
MRC_API size_t * MR_AlphaShapeStats_GetMutable_touchableTris (MR_AlphaShapeStats *_this)
MRC_API const size_t * MR_AlphaShapeStats_Get_inBallTests (const MR_AlphaShapeStats *_this)
MRC_API void MR_AlphaShapeStats_Set_inBallTests (MR_AlphaShapeStats *_this, size_t value)
MRC_API size_t * MR_AlphaShapeStats_GetMutable_inBallTests (MR_AlphaShapeStats *_this)
MRC_API const size_t * MR_AlphaShapeStats_Get_shadowTests (const MR_AlphaShapeStats *_this)
MRC_API void MR_AlphaShapeStats_Set_shadowTests (MR_AlphaShapeStats *_this, size_t value)
MRC_API size_t * MR_AlphaShapeStats_GetMutable_shadowTests (MR_AlphaShapeStats *_this)
MRC_API const size_t * MR_AlphaShapeStats_Get_exactShadowTests (const MR_AlphaShapeStats *_this)
MRC_API void MR_AlphaShapeStats_Set_exactShadowTests (MR_AlphaShapeStats *_this, size_t value)
MRC_API size_t * MR_AlphaShapeStats_GetMutable_exactShadowTests (MR_AlphaShapeStats *_this)
MRC_API const size_t * MR_AlphaShapeStats_Get_shadowedNeis (const MR_AlphaShapeStats *_this)
MRC_API void MR_AlphaShapeStats_Set_shadowedNeis (MR_AlphaShapeStats *_this, size_t value)
MRC_API size_t * MR_AlphaShapeStats_GetMutable_shadowedNeis (MR_AlphaShapeStats *_this)
MRC_API MR_AlphaShapeStatsMR_AlphaShapeStats_DefaultConstruct (void)
MRC_API MR_AlphaShapeStatsMR_AlphaShapeStats_DefaultConstructArray (size_t num_elems)
MRC_API MR_AlphaShapeStatsMR_AlphaShapeStats_ConstructFrom (size_t collectedNeis, size_t redundancyTests, size_t redundantNeis, size_t consideredTris, size_t touchableTris, size_t inBallTests, size_t shadowTests, size_t exactShadowTests, size_t shadowedNeis)
MRC_API const MR_AlphaShapeStatsMR_AlphaShapeStats_OffsetPtr (const MR_AlphaShapeStats *ptr, ptrdiff_t i)
MRC_API MR_AlphaShapeStatsMR_AlphaShapeStats_OffsetMutablePtr (MR_AlphaShapeStats *ptr, ptrdiff_t i)
MRC_API MR_AlphaShapeStatsMR_AlphaShapeStats_ConstructFromAnother (const MR_AlphaShapeStats *_other)
MRC_API void MR_AlphaShapeStats_Destroy (const MR_AlphaShapeStats *_this)
 Destroys a heap-allocated instance of MR_AlphaShapeStats. Does nothing if the pointer is null.
MRC_API void MR_AlphaShapeStats_DestroyArray (const MR_AlphaShapeStats *_this)
 Destroys a heap-allocated array of MR_AlphaShapeStats. Does nothing if the pointer is null.
MRC_API MR_AlphaShapeStatsMR_AlphaShapeStats_AssignFromAnother (MR_AlphaShapeStats *_this, const MR_AlphaShapeStats *_other)
MRC_API MR_AlphaShapeStatsMR_AlphaShapeStats_add_assign (MR_AlphaShapeStats *_this, const MR_AlphaShapeStats *r)
MRC_API const MR_PreciseVertCoordsMR_AlphaShapeNei_Get_coords (const MR_AlphaShapeNei *_this)
MRC_API void MR_AlphaShapeNei_Set_coords (MR_AlphaShapeNei *_this, const MR_PreciseVertCoords *value)
MRC_API MR_PreciseVertCoordsMR_AlphaShapeNei_GetMutable_coords (MR_AlphaShapeNei *_this)
MRC_API MR_AlphaShapeNeiMR_AlphaShapeNei_DefaultConstruct (void)
MRC_API MR_AlphaShapeNeiMR_AlphaShapeNei_DefaultConstructArray (size_t num_elems)
MRC_API const MR_AlphaShapeNeiMR_AlphaShapeNei_OffsetPtr (const MR_AlphaShapeNei *ptr, ptrdiff_t i)
MRC_API MR_AlphaShapeNeiMR_AlphaShapeNei_OffsetMutablePtr (MR_AlphaShapeNei *ptr, ptrdiff_t i)
MRC_API MR_AlphaShapeNeiMR_AlphaShapeNei_ConstructFromAnother (const MR_AlphaShapeNei *_other)
MRC_API void MR_AlphaShapeNei_Destroy (const MR_AlphaShapeNei *_this)
 Destroys a heap-allocated instance of MR_AlphaShapeNei. Does nothing if the pointer is null.
MRC_API void MR_AlphaShapeNei_DestroyArray (const MR_AlphaShapeNei *_this)
 Destroys a heap-allocated array of MR_AlphaShapeNei. Does nothing if the pointer is null.
MRC_API MR_AlphaShapeNeiMR_AlphaShapeNei_AssignFromAnother (MR_AlphaShapeNei *_this, const MR_AlphaShapeNei *_other)
MRC_API void MR_findAlphaShapeNeiTriangles (const MR_PointCloud *cloud, MR_VertId v, const MR_AlphaShapeData *data, MR_Triangulation *appendTris, MR_std_vector_MR_AlphaShapeNei *neis, bool onlyLargerVids, MR_AlphaShapeStats *stats)
MRC_API MR_std_optional_MR_TriangulationMR_findAlphaShapeAllTriangles_4_float (const MR_PointCloud *cloud, float radius, const MR_std_function_bool_from_float *cb, MR_AlphaShapeStats *stats)
MRC_API MR_TriangulationMR_findAlphaShapeAllTriangles_3 (const MR_PointCloud *cloud, float radius, MR_AlphaShapeStats *stats)
MRC_API MR_std_optional_MR_TriangulationMR_findAlphaShapeAllTriangles_4_MR_AlphaShapeData (const MR_PointCloud *cloud, const MR_AlphaShapeData *data, const MR_std_function_bool_from_float *cb, MR_AlphaShapeStats *stats)
MRC_API MR_std_optional_MR_MeshMR_findAlphaShape_5 (const MR_PointCloud *cloud, float radius, const MR_std_function_bool_from_float *cb, MR_std_vector_MR_MeshBuilder_VertDuplication *dups, MR_AlphaShapeStats *stats)
MRC_API MR_MeshMR_findAlphaShape_4 (const MR_PointCloud *cloud, float radius, MR_std_vector_MR_MeshBuilder_VertDuplication *dups, MR_AlphaShapeStats *stats)

Typedef Documentation

◆ MR_AlphaShapeData

a point cloud and a ball radius prepared for the search of alpha-shape triangles; the emptiness of a ball is tested in integer coordinates with simulation-of-simplicity resolving the degeneracies, so both the cloud and the radius are needed in integer form as well Generated from class MR::AlphaShapeData. 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).

◆ MR_AlphaShapeNei

a neighbour of the point #v in the search of alpha-shape triangles around it Generated from class MR::AlphaShapeNei. 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).

◆ MR_AlphaShapeStats

the amount of work done during the search of alpha-shape triangles; every function below only increases the counters, never resets them, so the statistics of several calls can be accumulated in one object Generated from class MR::AlphaShapeStats. 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).

◆ MR_ConvertToIntVector

translate then scale float-to-int coordinate converter Generated from class MR::ConvertToIntVector. 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).

◆ MR_PreciseVertCoords

Generated from class MR::PreciseVertCoords. 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).

◆ MR_std_optional_MR_Triangulation

Stores either a single MR::Triangulation or nothing. 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).

◆ MR_std_vector_MR_AlphaShapeNei

Generated from C++ container std::vector<MR::AlphaShapeNei>. 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).

◆ MR_std_vector_MR_MeshBuilder_VertDuplication

Generated from C++ container std::vector<MR::MeshBuilder::VertDuplication>. 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).

◆ MR_Triangulation

std::vector<T>-like container that requires specific indexing type,

Template Parameters
Ttype of stored elements
Itype of index (shall be convertible to size_t) Generated from class MR::Triangulation. 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).

◆ MR_Vector_MR_Vector3i_MR_VertId

std::vector<T>-like container that requires specific indexing type,

Template Parameters
Ttype of stored elements
Itype of index (shall be convertible to size_t) Generated from class MR::Vector<MR::Vector3i, 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_AlphaShapeData_AssignFromAnother()

MRC_API MR_AlphaShapeData * MR_AlphaShapeData_AssignFromAnother ( MR_AlphaShapeData * _this,
MR_PassBy _other_pass_by,
MR_AlphaShapeData * _other )

Generated from method MR::AlphaShapeData::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_AlphaShapeData_ConstructFrom()

MRC_API MR_AlphaShapeData * MR_AlphaShapeData_ConstructFrom ( const MR_ConvertToIntVector * toInt,
MR_PassBy intPoints_pass_by,
MR_Vector_MR_Vector3i_MR_VertId * intPoints,
int64_t intRadiusSq,
float searchRadius )

Constructs MR::AlphaShapeData elementwise. Parameter toInt can not be null. It is a single object. The reference to the parameter toInt might be preserved in the constructed object. The reference to the parameter intPoints might be preserved in the constructed object. The reference to the parameter intRadiusSq might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_AlphaShapeData_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.

◆ MR_AlphaShapeData_ConstructFromAnother()

MRC_API MR_AlphaShapeData * MR_AlphaShapeData_ConstructFromAnother ( MR_PassBy _other_pass_by,
MR_AlphaShapeData * _other )

Generated from constructor MR::AlphaShapeData::AlphaShapeData. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_AlphaShapeData_Destroy() to free it when you're done using it.

◆ MR_AlphaShapeData_coords()

MRC_API MR_PreciseVertCoords * MR_AlphaShapeData_coords ( const MR_AlphaShapeData * _this,
const MR_PointCloud * cloud,
MR_VertId v )

returns point #v of the cloud (which must be the cloud given to getAlphaShapeData) together with its integer coordinates Generated from method MR::AlphaShapeData::coords. Parameter _this can not be null. It is a single object. Parameter cloud can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_PreciseVertCoords_Destroy() to free it when you're done using it.

◆ MR_AlphaShapeData_DefaultConstruct()

MRC_API MR_AlphaShapeData * MR_AlphaShapeData_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_AlphaShapeData_Destroy() to free it when you're done using it.

◆ MR_AlphaShapeData_DefaultConstructArray()

MRC_API MR_AlphaShapeData * MR_AlphaShapeData_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_AlphaShapeData_DestroyArray(). Use MR_AlphaShapeData_OffsetMutablePtr() and MR_AlphaShapeData_OffsetPtr() to access the array elements.

◆ MR_AlphaShapeData_Destroy()

MRC_API void MR_AlphaShapeData_Destroy ( const MR_AlphaShapeData * _this)

Destroys a heap-allocated instance of MR_AlphaShapeData. Does nothing if the pointer is null.

◆ MR_AlphaShapeData_DestroyArray()

MRC_API void MR_AlphaShapeData_DestroyArray ( const MR_AlphaShapeData * _this)

Destroys a heap-allocated array of MR_AlphaShapeData. Does nothing if the pointer is null.

◆ MR_AlphaShapeData_Get_intPoints()

MRC_API const MR_Vector_MR_Vector3i_MR_VertId * MR_AlphaShapeData_Get_intPoints ( const MR_AlphaShapeData * _this)

integer coordinates of all valid points of the cloud, or empty if they have to be computed on the fly by toInt Returns a pointer to a member variable of class MR::AlphaShapeData named intPoints. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeData_Get_intRadiusSq()

MRC_API const int64_t * MR_AlphaShapeData_Get_intRadiusSq ( const MR_AlphaShapeData * _this)

squared ball radius in the units of toInt's integer grid, not larger than the squared original radius (so that no point inside a ball can be farther than searchRadius from the ball's points), and small enough for the predicates not to overflow Returns a pointer to a member variable of class MR::AlphaShapeData named intRadiusSq. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeData_Get_searchRadius()

MRC_API const float * MR_AlphaShapeData_Get_searchRadius ( const MR_AlphaShapeData * _this)

the radius of the neighbourhood of a point to consider; a bit larger than the doubled ball radius to compensate the rounding of integer coordinates Returns a pointer to a member variable of class MR::AlphaShapeData named searchRadius. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeData_Get_toInt()

MRC_API const MR_ConvertToIntVector * MR_AlphaShapeData_Get_toInt ( const MR_AlphaShapeData * _this)

converts cloud's points in integer coordinates Returns a pointer to a member variable of class MR::AlphaShapeData named toInt. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeData_GetMutable_intPoints()

MRC_API MR_Vector_MR_Vector3i_MR_VertId * MR_AlphaShapeData_GetMutable_intPoints ( MR_AlphaShapeData * _this)

integer coordinates of all valid points of the cloud, or empty if they have to be computed on the fly by toInt Returns a mutable pointer to a member variable of class MR::AlphaShapeData named intPoints. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeData_GetMutable_intRadiusSq()

MRC_API int64_t * MR_AlphaShapeData_GetMutable_intRadiusSq ( MR_AlphaShapeData * _this)

squared ball radius in the units of toInt's integer grid, not larger than the squared original radius (so that no point inside a ball can be farther than searchRadius from the ball's points), and small enough for the predicates not to overflow Returns a mutable pointer to a member variable of class MR::AlphaShapeData named intRadiusSq. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeData_GetMutable_searchRadius()

MRC_API float * MR_AlphaShapeData_GetMutable_searchRadius ( MR_AlphaShapeData * _this)

the radius of the neighbourhood of a point to consider; a bit larger than the doubled ball radius to compensate the rounding of integer coordinates Returns a mutable pointer to a member variable of class MR::AlphaShapeData named searchRadius. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeData_GetMutable_toInt()

MRC_API MR_ConvertToIntVector * MR_AlphaShapeData_GetMutable_toInt ( MR_AlphaShapeData * _this)

converts cloud's points in integer coordinates Returns a mutable pointer to a member variable of class MR::AlphaShapeData named toInt. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeData_OffsetMutablePtr()

MRC_API MR_AlphaShapeData * MR_AlphaShapeData_OffsetMutablePtr ( MR_AlphaShapeData * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_AlphaShapeData_OffsetPtr()

MRC_API const MR_AlphaShapeData * MR_AlphaShapeData_OffsetPtr ( const MR_AlphaShapeData * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_AlphaShapeData_Set_intPoints()

MRC_API void MR_AlphaShapeData_Set_intPoints ( MR_AlphaShapeData * _this,
MR_PassBy value_pass_by,
MR_Vector_MR_Vector3i_MR_VertId * value )

integer coordinates of all valid points of the cloud, or empty if they have to be computed on the fly by toInt Modifies a member variable of class MR::AlphaShapeData named intPoints. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element intPoints. When this function is called, this object will drop object references it held previously in intPoints.

◆ MR_AlphaShapeData_Set_intRadiusSq()

MRC_API void MR_AlphaShapeData_Set_intRadiusSq ( MR_AlphaShapeData * _this,
int64_t value )

squared ball radius in the units of toInt's integer grid, not larger than the squared original radius (so that no point inside a ball can be farther than searchRadius from the ball's points), and small enough for the predicates not to overflow Modifies a member variable of class MR::AlphaShapeData named intRadiusSq. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element intRadiusSq. When this function is called, this object will drop object references it held previously in intRadiusSq.

◆ MR_AlphaShapeData_Set_searchRadius()

MRC_API void MR_AlphaShapeData_Set_searchRadius ( MR_AlphaShapeData * _this,
float value )

the radius of the neighbourhood of a point to consider; a bit larger than the doubled ball radius to compensate the rounding of integer coordinates Modifies a member variable of class MR::AlphaShapeData named searchRadius. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in searchRadius.

◆ MR_AlphaShapeData_Set_toInt()

MRC_API void MR_AlphaShapeData_Set_toInt ( MR_AlphaShapeData * _this,
const MR_ConvertToIntVector * value )

converts cloud's points in integer coordinates Modifies a member variable of class MR::AlphaShapeData named toInt. Parameter _this can not be null. It is a single object. Parameter value can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element toInt. When this function is called, this object will drop object references it held previously in toInt.

◆ MR_AlphaShapeNei_AssignFromAnother()

MRC_API MR_AlphaShapeNei * MR_AlphaShapeNei_AssignFromAnother ( MR_AlphaShapeNei * _this,
const MR_AlphaShapeNei * _other )

Generated from method MR::AlphaShapeNei::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_AlphaShapeNei_ConstructFromAnother()

MRC_API MR_AlphaShapeNei * MR_AlphaShapeNei_ConstructFromAnother ( const MR_AlphaShapeNei * _other)

Generated from constructor MR::AlphaShapeNei::AlphaShapeNei. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_AlphaShapeNei_Destroy() to free it when you're done using it.

◆ MR_AlphaShapeNei_DefaultConstruct()

MRC_API MR_AlphaShapeNei * MR_AlphaShapeNei_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_AlphaShapeNei_Destroy() to free it when you're done using it.

◆ MR_AlphaShapeNei_DefaultConstructArray()

MRC_API MR_AlphaShapeNei * MR_AlphaShapeNei_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_AlphaShapeNei_DestroyArray(). Use MR_AlphaShapeNei_OffsetMutablePtr() and MR_AlphaShapeNei_OffsetPtr() to access the array elements.

◆ MR_AlphaShapeNei_Destroy()

MRC_API void MR_AlphaShapeNei_Destroy ( const MR_AlphaShapeNei * _this)

Destroys a heap-allocated instance of MR_AlphaShapeNei. Does nothing if the pointer is null.

◆ MR_AlphaShapeNei_DestroyArray()

MRC_API void MR_AlphaShapeNei_DestroyArray ( const MR_AlphaShapeNei * _this)

Destroys a heap-allocated array of MR_AlphaShapeNei. Does nothing if the pointer is null.

◆ MR_AlphaShapeNei_Get_coords()

MRC_API const MR_PreciseVertCoords * MR_AlphaShapeNei_Get_coords ( const MR_AlphaShapeNei * _this)

the neighbour's id together with its integer coordinates Returns a pointer to a member variable of class MR::AlphaShapeNei named coords. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeNei_GetMutable_coords()

MRC_API MR_PreciseVertCoords * MR_AlphaShapeNei_GetMutable_coords ( MR_AlphaShapeNei * _this)

the neighbour's id together with its integer coordinates Returns a mutable pointer to a member variable of class MR::AlphaShapeNei named coords. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeNei_OffsetMutablePtr()

MRC_API MR_AlphaShapeNei * MR_AlphaShapeNei_OffsetMutablePtr ( MR_AlphaShapeNei * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_AlphaShapeNei_OffsetPtr()

MRC_API const MR_AlphaShapeNei * MR_AlphaShapeNei_OffsetPtr ( const MR_AlphaShapeNei * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_AlphaShapeNei_Set_coords()

MRC_API void MR_AlphaShapeNei_Set_coords ( MR_AlphaShapeNei * _this,
const MR_PreciseVertCoords * value )

the neighbour's id together with its integer coordinates Modifies a member variable of class MR::AlphaShapeNei named coords. Parameter _this can not be null. It is a single object. Parameter value can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element coords. When this function is called, this object will drop object references it held previously in coords.

◆ MR_AlphaShapeStats_add_assign()

MRC_API MR_AlphaShapeStats * MR_AlphaShapeStats_add_assign ( MR_AlphaShapeStats * _this,
const MR_AlphaShapeStats * r )

Generated from method MR::AlphaShapeStats::operator+=. Parameter _this can not be null. It is a single object. Parameter r can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved in the return value.

◆ MR_AlphaShapeStats_AssignFromAnother()

MRC_API MR_AlphaShapeStats * MR_AlphaShapeStats_AssignFromAnother ( MR_AlphaShapeStats * _this,
const MR_AlphaShapeStats * _other )

Generated from method MR::AlphaShapeStats::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.

◆ MR_AlphaShapeStats_ConstructFrom()

MRC_API MR_AlphaShapeStats * MR_AlphaShapeStats_ConstructFrom ( size_t collectedNeis,
size_t redundancyTests,
size_t redundantNeis,
size_t consideredTris,
size_t touchableTris,
size_t inBallTests,
size_t shadowTests,
size_t exactShadowTests,
size_t shadowedNeis )

Constructs MR::AlphaShapeStats elementwise. The reference to the parameter collectedNeis might be preserved in the constructed object. The reference to the parameter redundancyTests might be preserved in the constructed object. The reference to the parameter redundantNeis might be preserved in the constructed object. The reference to the parameter consideredTris might be preserved in the constructed object. The reference to the parameter touchableTris might be preserved in the constructed object. The reference to the parameter inBallTests might be preserved in the constructed object. The reference to the parameter shadowTests might be preserved in the constructed object. The reference to the parameter exactShadowTests might be preserved in the constructed object. The reference to the parameter shadowedNeis might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_AlphaShapeStats_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.

◆ MR_AlphaShapeStats_ConstructFromAnother()

MRC_API MR_AlphaShapeStats * MR_AlphaShapeStats_ConstructFromAnother ( const MR_AlphaShapeStats * _other)

Generated from constructor MR::AlphaShapeStats::AlphaShapeStats. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_AlphaShapeStats_Destroy() to free it when you're done using it.

◆ MR_AlphaShapeStats_DefaultConstruct()

MRC_API MR_AlphaShapeStats * MR_AlphaShapeStats_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_AlphaShapeStats_Destroy() to free it when you're done using it.

◆ MR_AlphaShapeStats_DefaultConstructArray()

MRC_API MR_AlphaShapeStats * MR_AlphaShapeStats_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_AlphaShapeStats_DestroyArray(). Use MR_AlphaShapeStats_OffsetMutablePtr() and MR_AlphaShapeStats_OffsetPtr() to access the array elements.

◆ MR_AlphaShapeStats_Destroy()

MRC_API void MR_AlphaShapeStats_Destroy ( const MR_AlphaShapeStats * _this)

Destroys a heap-allocated instance of MR_AlphaShapeStats. Does nothing if the pointer is null.

◆ MR_AlphaShapeStats_DestroyArray()

MRC_API void MR_AlphaShapeStats_DestroyArray ( const MR_AlphaShapeStats * _this)

Destroys a heap-allocated array of MR_AlphaShapeStats. Does nothing if the pointer is null.

◆ MR_AlphaShapeStats_Get_collectedNeis()

MRC_API const size_t * MR_AlphaShapeStats_Get_collectedNeis ( const MR_AlphaShapeStats * _this)

the number of neighbours found within the search radius, before any of the filters below; the searches around all the points are quadratic in this, so it explains most of the difference in the time spent per point between one cloud and another Returns a pointer to a member variable of class MR::AlphaShapeStats named collectedNeis. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_Get_consideredTris()

MRC_API const size_t * MR_AlphaShapeStats_Get_consideredTris ( const MR_AlphaShapeStats * _this)

the number of triangles considered: the triples of close enough points that were checked for the existence of a ball of the given radius passing via all three of them Returns a pointer to a member variable of class MR::AlphaShapeStats named consideredTris. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_Get_exactShadowTests()

MRC_API const size_t * MR_AlphaShapeStats_Get_exactShadowTests ( const MR_AlphaShapeStats * _this)

the number of shadow tests not decided by the floating-point rejection, which had to evaluate the exact predicates Returns a pointer to a member variable of class MR::AlphaShapeStats named exactShadowTests. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_Get_inBallTests()

MRC_API const size_t * MR_AlphaShapeStats_Get_inBallTests ( const MR_AlphaShapeStats * _this)

the number of point-in-ball tests performed for the balls of touchable triangles; less than 2 * touchableTris * (points in the neighbourhood) because a ball is not tested further as soon as the first point inside it is found Returns a pointer to a member variable of class MR::AlphaShapeStats named inBallTests. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_Get_redundancyTests()

MRC_API const size_t * MR_AlphaShapeStats_Get_redundancyTests ( const MR_AlphaShapeStats * _this)

the number of pairs of neighbours checked for one of them making the other redundant, which is quadratic in the neighbours of a point Returns a pointer to a member variable of class MR::AlphaShapeStats named redundancyTests. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_Get_redundantNeis()

MRC_API const size_t * MR_AlphaShapeStats_Get_redundantNeis ( const MR_AlphaShapeStats * _this)

the number of neighbours found redundant by those checks and excluded from the search Returns a pointer to a member variable of class MR::AlphaShapeStats named redundantNeis. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_Get_shadowedNeis()

MRC_API const size_t * MR_AlphaShapeStats_Get_shadowedNeis ( const MR_AlphaShapeStats * _this)

the number of neighbours found shadowed, which are excluded from the search Returns a pointer to a member variable of class MR::AlphaShapeStats named shadowedNeis. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_Get_shadowTests()

MRC_API const size_t * MR_AlphaShapeStats_Get_shadowTests ( const MR_AlphaShapeStats * _this)

the number of neighbours tested for being shadowed by the balls of a touchable triangle Returns a pointer to a member variable of class MR::AlphaShapeStats named shadowTests. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_Get_touchableTris()

MRC_API const size_t * MR_AlphaShapeStats_Get_touchableTris ( const MR_AlphaShapeStats * _this)

the number of considered triangles touchable by the ball of the given radius, for each of which two balls (one from each side of the triangle) were tested for emptiness Returns a pointer to a member variable of class MR::AlphaShapeStats named touchableTris. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_GetMutable_collectedNeis()

MRC_API size_t * MR_AlphaShapeStats_GetMutable_collectedNeis ( MR_AlphaShapeStats * _this)

the number of neighbours found within the search radius, before any of the filters below; the searches around all the points are quadratic in this, so it explains most of the difference in the time spent per point between one cloud and another Returns a mutable pointer to a member variable of class MR::AlphaShapeStats named collectedNeis. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_GetMutable_consideredTris()

MRC_API size_t * MR_AlphaShapeStats_GetMutable_consideredTris ( MR_AlphaShapeStats * _this)

the number of triangles considered: the triples of close enough points that were checked for the existence of a ball of the given radius passing via all three of them Returns a mutable pointer to a member variable of class MR::AlphaShapeStats named consideredTris. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_GetMutable_exactShadowTests()

MRC_API size_t * MR_AlphaShapeStats_GetMutable_exactShadowTests ( MR_AlphaShapeStats * _this)

the number of shadow tests not decided by the floating-point rejection, which had to evaluate the exact predicates Returns a mutable pointer to a member variable of class MR::AlphaShapeStats named exactShadowTests. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_GetMutable_inBallTests()

MRC_API size_t * MR_AlphaShapeStats_GetMutable_inBallTests ( MR_AlphaShapeStats * _this)

the number of point-in-ball tests performed for the balls of touchable triangles; less than 2 * touchableTris * (points in the neighbourhood) because a ball is not tested further as soon as the first point inside it is found Returns a mutable pointer to a member variable of class MR::AlphaShapeStats named inBallTests. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_GetMutable_redundancyTests()

MRC_API size_t * MR_AlphaShapeStats_GetMutable_redundancyTests ( MR_AlphaShapeStats * _this)

the number of pairs of neighbours checked for one of them making the other redundant, which is quadratic in the neighbours of a point Returns a mutable pointer to a member variable of class MR::AlphaShapeStats named redundancyTests. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_GetMutable_redundantNeis()

MRC_API size_t * MR_AlphaShapeStats_GetMutable_redundantNeis ( MR_AlphaShapeStats * _this)

the number of neighbours found redundant by those checks and excluded from the search Returns a mutable pointer to a member variable of class MR::AlphaShapeStats named redundantNeis. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_GetMutable_shadowedNeis()

MRC_API size_t * MR_AlphaShapeStats_GetMutable_shadowedNeis ( MR_AlphaShapeStats * _this)

the number of neighbours found shadowed, which are excluded from the search Returns a mutable pointer to a member variable of class MR::AlphaShapeStats named shadowedNeis. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_GetMutable_shadowTests()

MRC_API size_t * MR_AlphaShapeStats_GetMutable_shadowTests ( MR_AlphaShapeStats * _this)

the number of neighbours tested for being shadowed by the balls of a touchable triangle Returns a mutable pointer to a member variable of class MR::AlphaShapeStats named shadowTests. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_GetMutable_touchableTris()

MRC_API size_t * MR_AlphaShapeStats_GetMutable_touchableTris ( MR_AlphaShapeStats * _this)

the number of considered triangles touchable by the ball of the given radius, for each of which two balls (one from each side of the triangle) were tested for emptiness Returns a mutable pointer to a member variable of class MR::AlphaShapeStats named touchableTris. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it. The reference to this object might be preserved as the return value.

◆ MR_AlphaShapeStats_OffsetMutablePtr()

MRC_API MR_AlphaShapeStats * MR_AlphaShapeStats_OffsetMutablePtr ( MR_AlphaShapeStats * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_AlphaShapeStats_OffsetPtr()

MRC_API const MR_AlphaShapeStats * MR_AlphaShapeStats_OffsetPtr ( const MR_AlphaShapeStats * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_AlphaShapeStats_Set_collectedNeis()

MRC_API void MR_AlphaShapeStats_Set_collectedNeis ( MR_AlphaShapeStats * _this,
size_t value )

the number of neighbours found within the search radius, before any of the filters below; the searches around all the points are quadratic in this, so it explains most of the difference in the time spent per point between one cloud and another Modifies a member variable of class MR::AlphaShapeStats named collectedNeis. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element collectedNeis. When this function is called, this object will drop object references it held previously in collectedNeis.

◆ MR_AlphaShapeStats_Set_consideredTris()

MRC_API void MR_AlphaShapeStats_Set_consideredTris ( MR_AlphaShapeStats * _this,
size_t value )

the number of triangles considered: the triples of close enough points that were checked for the existence of a ball of the given radius passing via all three of them Modifies a member variable of class MR::AlphaShapeStats named consideredTris. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element consideredTris. When this function is called, this object will drop object references it held previously in consideredTris.

◆ MR_AlphaShapeStats_Set_exactShadowTests()

MRC_API void MR_AlphaShapeStats_Set_exactShadowTests ( MR_AlphaShapeStats * _this,
size_t value )

the number of shadow tests not decided by the floating-point rejection, which had to evaluate the exact predicates Modifies a member variable of class MR::AlphaShapeStats named exactShadowTests. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element exactShadowTests. When this function is called, this object will drop object references it held previously in exactShadowTests.

◆ MR_AlphaShapeStats_Set_inBallTests()

MRC_API void MR_AlphaShapeStats_Set_inBallTests ( MR_AlphaShapeStats * _this,
size_t value )

the number of point-in-ball tests performed for the balls of touchable triangles; less than 2 * touchableTris * (points in the neighbourhood) because a ball is not tested further as soon as the first point inside it is found Modifies a member variable of class MR::AlphaShapeStats named inBallTests. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element inBallTests. When this function is called, this object will drop object references it held previously in inBallTests.

◆ MR_AlphaShapeStats_Set_redundancyTests()

MRC_API void MR_AlphaShapeStats_Set_redundancyTests ( MR_AlphaShapeStats * _this,
size_t value )

the number of pairs of neighbours checked for one of them making the other redundant, which is quadratic in the neighbours of a point Modifies a member variable of class MR::AlphaShapeStats named redundancyTests. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element redundancyTests. When this function is called, this object will drop object references it held previously in redundancyTests.

◆ MR_AlphaShapeStats_Set_redundantNeis()

MRC_API void MR_AlphaShapeStats_Set_redundantNeis ( MR_AlphaShapeStats * _this,
size_t value )

the number of neighbours found redundant by those checks and excluded from the search Modifies a member variable of class MR::AlphaShapeStats named redundantNeis. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element redundantNeis. When this function is called, this object will drop object references it held previously in redundantNeis.

◆ MR_AlphaShapeStats_Set_shadowedNeis()

MRC_API void MR_AlphaShapeStats_Set_shadowedNeis ( MR_AlphaShapeStats * _this,
size_t value )

the number of neighbours found shadowed, which are excluded from the search Modifies a member variable of class MR::AlphaShapeStats named shadowedNeis. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element shadowedNeis. When this function is called, this object will drop object references it held previously in shadowedNeis.

◆ MR_AlphaShapeStats_Set_shadowTests()

MRC_API void MR_AlphaShapeStats_Set_shadowTests ( MR_AlphaShapeStats * _this,
size_t value )

the number of neighbours tested for being shadowed by the balls of a touchable triangle Modifies a member variable of class MR::AlphaShapeStats named shadowTests. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element shadowTests. When this function is called, this object will drop object references it held previously in shadowTests.

◆ MR_AlphaShapeStats_Set_touchableTris()

MRC_API void MR_AlphaShapeStats_Set_touchableTris ( MR_AlphaShapeStats * _this,
size_t value )

the number of considered triangles touchable by the ball of the given radius, for each of which two balls (one from each side of the triangle) were tested for emptiness Modifies a member variable of class MR::AlphaShapeStats named touchableTris. Parameter _this can not be null. It is a single object. The reference to the parameter value might be preserved in this object in element touchableTris. When this function is called, this object will drop object references it held previously in touchableTris.

◆ MR_findAlphaShape_4()

MRC_API MR_Mesh * MR_findAlphaShape_4 ( const MR_PointCloud * cloud,
float radius,
MR_std_vector_MR_MeshBuilder_VertDuplication * dups,
MR_AlphaShapeStats * stats )

Generated from function MR::findAlphaShape. Parameter cloud can not be null. It is a single object. Parameter dups defaults to a null pointer in C++. Parameter stats defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_Mesh_Destroy() to free it when you're done using it.

◆ MR_findAlphaShape_5()

MRC_API MR_std_optional_MR_Mesh * MR_findAlphaShape_5 ( const MR_PointCloud * cloud,
float radius,
const MR_std_function_bool_from_float * cb,
MR_std_vector_MR_MeshBuilder_VertDuplication * dups,
MR_AlphaShapeStats * stats )

builds alpha-shape mesh with negative alpha = -1/radius; the mesh vertices are the cloud points with the same ids plus the ones appended by the duplication of non-manifold vertices, which

Parameters
dups(if given) receives Generated from function MR::findAlphaShape. Parameter cloud can not be null. It is a single object. Parameter cb can not be null. It is a single object. Parameter dups defaults to a null pointer in C++. Parameter stats defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_MR_Mesh_Destroy() to free it when you're done using it.

◆ MR_findAlphaShapeAllTriangles_3()

MRC_API MR_Triangulation * MR_findAlphaShapeAllTriangles_3 ( const MR_PointCloud * cloud,
float radius,
MR_AlphaShapeStats * stats )

Generated from function MR::findAlphaShapeAllTriangles. Parameter cloud can not be null. It is a single object. Parameter stats defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_Triangulation_Destroy() to free it when you're done using it.

◆ MR_findAlphaShapeAllTriangles_4_float()

MRC_API MR_std_optional_MR_Triangulation * MR_findAlphaShapeAllTriangles_4_float ( const MR_PointCloud * cloud,
float radius,
const MR_std_function_bool_from_float * cb,
MR_AlphaShapeStats * stats )

finds all triangles of alpha-shape with negative alpha = -1/radius Generated from function MR::findAlphaShapeAllTriangles. Parameter cloud can not be null. It is a single object. Parameter cb can not be null. It is a single object. Parameter stats defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_MR_Triangulation_Destroy() to free it when you're done using it.

◆ MR_findAlphaShapeAllTriangles_4_MR_AlphaShapeData()

MRC_API MR_std_optional_MR_Triangulation * MR_findAlphaShapeAllTriangles_4_MR_AlphaShapeData ( const MR_PointCloud * cloud,
const MR_AlphaShapeData * data,
const MR_std_function_bool_from_float * cb,
MR_AlphaShapeStats * stats )

finds all triangles of alpha-shape given the data prepared by getAlphaShapeData for the same cloud (preferably with allPoints=true, since the triangles around all points will be searched) Generated from function MR::findAlphaShapeAllTriangles. Parameter cloud can not be null. It is a single object. Parameter data can not be null. It is a single object. Parameter cb can not be null. It is a single object. Parameter stats defaults to a null pointer in C++. Never returns null. Returns an instance allocated on the heap! Must call MR_std_optional_MR_Triangulation_Destroy() to free it when you're done using it.

◆ MR_findAlphaShapeNeiTriangles()

MRC_API void MR_findAlphaShapeNeiTriangles ( const MR_PointCloud * cloud,
MR_VertId v,
const MR_AlphaShapeData * data,
MR_Triangulation * appendTris,
MR_std_vector_MR_AlphaShapeNei * neis,
bool onlyLargerVids,
MR_AlphaShapeStats * stats )

finds all triangles of alpha-shape with negative alpha = -1/radius, where each triangle contains point #v and two other points; the valid points sharing one position in the integer grid are merged: only the point with the smallest id among them appears in the triangles (in particular, #v itself gets no triangles if it has such a twin), so the triangles found around all the points agree Generated from function MR::findAlphaShapeNeiTriangles. Parameter cloud can not be null. It is a single object. Parameter data can not be null. It is a single object. Parameter appendTris can not be null. It is a single object. Parameter neis can not be null. It is a single object. Parameter stats defaults to a null pointer in C++.

◆ MR_getAlphaShapeData()

MRC_API MR_AlphaShapeData * MR_getAlphaShapeData ( const MR_PointCloud * cloud,
float radius,
bool allPoints )

prepares the data for the search of alpha-shape triangles with negative alpha = -1/radius in the cloud

Parameters
allPointswhether to convert all valid points of the cloud in integer coordinates in parallel, which pays off if the triangles around many points will be searched Generated from function MR::getAlphaShapeData. Parameter cloud can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_AlphaShapeData_Destroy() to free it when you're done using it.