Go to the source code of this file.
Typedefs | |
| typedef enum MR_SelfIntersections_Settings_Method | MR_SelfIntersections_Settings_Method |
| Fix method. | |
| typedef struct MR_SelfIntersections_Settings | MR_SelfIntersections_Settings |
Enumerations | |
| enum | MR_SelfIntersections_Settings_Method { MR_SelfIntersections_Settings_Method_Relax = 0 , MR_SelfIntersections_Settings_Method_CutAndFill = 1 } |
| Fix method. More... | |
| typedef struct MR_SelfIntersections_Settings MR_SelfIntersections_Settings |
Setting set for mesh self-intersections fix Generated from class MR::SelfIntersections::Settings. 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).
Fix method.
| MRC_API MR_expected_void_std_string * MR_SelfIntersections_fix | ( | MR_Mesh * | mesh, |
| const MR_SelfIntersections_Settings * | settings ) |
Finds and fixes self-intersections per component: Generated from function MR::SelfIntersections::fix. Parameter mesh can not be null. It is a single object. Parameter settings can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_expected_MR_FaceBitSet_std_string * MR_SelfIntersections_getFaces | ( | const MR_Mesh * | mesh, |
| const bool * | touchIsIntersection, | ||
| MR_PassBy | cb_pass_by, | ||
| MR_std_function_bool_from_float * | cb ) |
Find all self-intersections faces component-wise Generated from function MR::SelfIntersections::getFaces. Parameter mesh can not be null. It is a single object. Parameter touchIsIntersection has a default argument: true, pass a null pointer to use it. Parameter cb has a default argument: {}, pass MR_PassBy_DefaultArgument and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_FaceBitSet_std_string_Destroy() to free it when you're done using it.
| MRC_API MR_SelfIntersections_Settings * MR_SelfIntersections_Settings_AssignFromAnother | ( | MR_SelfIntersections_Settings * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_SelfIntersections_Settings * | _other ) |
Generated from method MR::SelfIntersections::Settings::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.
| MRC_API MR_SelfIntersections_Settings * MR_SelfIntersections_Settings_ConstructFrom | ( | bool | touchIsIntersection, |
| MR_SelfIntersections_Settings_Method | method, | ||
| int | relaxIterations, | ||
| int | maxExpand, | ||
| float | subdivideEdgeLen, | ||
| MR_PassBy | callback_pass_by, | ||
| MR_std_function_bool_from_float * | callback ) |
Constructs MR::SelfIntersections::Settings elementwise. The reference to the parameter method might be preserved in the constructed object. The reference to the parameter callback might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SelfIntersections_Settings_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.
| MRC_API MR_SelfIntersections_Settings * MR_SelfIntersections_Settings_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_SelfIntersections_Settings * | _other ) |
Generated from constructor MR::SelfIntersections::Settings::Settings. 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_SelfIntersections_Settings_Destroy() to free it when you're done using it.
| MRC_API MR_SelfIntersections_Settings * MR_SelfIntersections_Settings_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SelfIntersections_Settings_Destroy() to free it when you're done using it.
| MRC_API MR_SelfIntersections_Settings * MR_SelfIntersections_Settings_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_SelfIntersections_Settings_DestroyArray(). Use MR_SelfIntersections_Settings_OffsetMutablePtr() and MR_SelfIntersections_Settings_OffsetPtr() to access the array elements.
| MRC_API void MR_SelfIntersections_Settings_Destroy | ( | const MR_SelfIntersections_Settings * | _this | ) |
Destroys a heap-allocated instance of MR_SelfIntersections_Settings. Does nothing if the pointer is null.
| MRC_API void MR_SelfIntersections_Settings_DestroyArray | ( | const MR_SelfIntersections_Settings * | _this | ) |
Destroys a heap-allocated array of MR_SelfIntersections_Settings. Does nothing if the pointer is null.
| MRC_API const MR_std_function_bool_from_float * MR_SelfIntersections_Settings_Get_callback | ( | const MR_SelfIntersections_Settings * | _this | ) |
Callback function Returns a pointer to a member variable of class MR::SelfIntersections::Settings named callback. 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.
| MRC_API const int * MR_SelfIntersections_Settings_Get_maxExpand | ( | const MR_SelfIntersections_Settings * | _this | ) |
Maximum expand count (edge steps from self-intersecting faces), should be > 0 Returns a pointer to a member variable of class MR::SelfIntersections::Settings named maxExpand. 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.
| MRC_API const MR_SelfIntersections_Settings_Method * MR_SelfIntersections_Settings_Get_method | ( | const MR_SelfIntersections_Settings * | _this | ) |
Returns a pointer to a member variable of class MR::SelfIntersections::Settings named method. 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.
| MRC_API const int * MR_SelfIntersections_Settings_Get_relaxIterations | ( | const MR_SelfIntersections_Settings * | _this | ) |
Maximum relax iterations Returns a pointer to a member variable of class MR::SelfIntersections::Settings named relaxIterations. 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.
| MRC_API const float * MR_SelfIntersections_Settings_Get_subdivideEdgeLen | ( | const MR_SelfIntersections_Settings * | _this | ) |
Edge length for subdivision of holes covers (0.0f means auto) FLT_MAX to disable subdivision Returns a pointer to a member variable of class MR::SelfIntersections::Settings named subdivideEdgeLen. 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.
| MRC_API const bool * MR_SelfIntersections_Settings_Get_touchIsIntersection | ( | const MR_SelfIntersections_Settings * | _this | ) |
If true then count touching faces as self-intersections Returns a pointer to a member variable of class MR::SelfIntersections::Settings named touchIsIntersection. 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.
| MRC_API MR_std_function_bool_from_float * MR_SelfIntersections_Settings_GetMutable_callback | ( | MR_SelfIntersections_Settings * | _this | ) |
Callback function Returns a mutable pointer to a member variable of class MR::SelfIntersections::Settings named callback. 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.
| MRC_API int * MR_SelfIntersections_Settings_GetMutable_maxExpand | ( | MR_SelfIntersections_Settings * | _this | ) |
Maximum expand count (edge steps from self-intersecting faces), should be > 0 Returns a mutable pointer to a member variable of class MR::SelfIntersections::Settings named maxExpand. 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.
| MRC_API MR_SelfIntersections_Settings_Method * MR_SelfIntersections_Settings_GetMutable_method | ( | MR_SelfIntersections_Settings * | _this | ) |
Returns a mutable pointer to a member variable of class MR::SelfIntersections::Settings named method. 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.
| MRC_API int * MR_SelfIntersections_Settings_GetMutable_relaxIterations | ( | MR_SelfIntersections_Settings * | _this | ) |
Maximum relax iterations Returns a mutable pointer to a member variable of class MR::SelfIntersections::Settings named relaxIterations. 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.
| MRC_API float * MR_SelfIntersections_Settings_GetMutable_subdivideEdgeLen | ( | MR_SelfIntersections_Settings * | _this | ) |
Edge length for subdivision of holes covers (0.0f means auto) FLT_MAX to disable subdivision Returns a mutable pointer to a member variable of class MR::SelfIntersections::Settings named subdivideEdgeLen. 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.
| MRC_API bool * MR_SelfIntersections_Settings_GetMutable_touchIsIntersection | ( | MR_SelfIntersections_Settings * | _this | ) |
If true then count touching faces as self-intersections Returns a mutable pointer to a member variable of class MR::SelfIntersections::Settings named touchIsIntersection. 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.
| MRC_API MR_SelfIntersections_Settings * MR_SelfIntersections_Settings_OffsetMutablePtr | ( | MR_SelfIntersections_Settings * | 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.
| MRC_API const MR_SelfIntersections_Settings * MR_SelfIntersections_Settings_OffsetPtr | ( | const MR_SelfIntersections_Settings * | 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.
| MRC_API void MR_SelfIntersections_Settings_Set_callback | ( | MR_SelfIntersections_Settings * | _this, |
| MR_PassBy | value_pass_by, | ||
| MR_std_function_bool_from_float * | value ) |
Callback function Modifies a member variable of class MR::SelfIntersections::Settings named callback. 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 callback. When this function is called, this object will drop object references it held previously in callback.
| MRC_API void MR_SelfIntersections_Settings_Set_maxExpand | ( | MR_SelfIntersections_Settings * | _this, |
| int | value ) |
Maximum expand count (edge steps from self-intersecting faces), should be > 0 Modifies a member variable of class MR::SelfIntersections::Settings named maxExpand. 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 maxExpand.
| MRC_API void MR_SelfIntersections_Settings_Set_method | ( | MR_SelfIntersections_Settings * | _this, |
| MR_SelfIntersections_Settings_Method | value ) |
Modifies a member variable of class MR::SelfIntersections::Settings named method. 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 method. When this function is called, this object will drop object references it held previously in method.
| MRC_API void MR_SelfIntersections_Settings_Set_relaxIterations | ( | MR_SelfIntersections_Settings * | _this, |
| int | value ) |
Maximum relax iterations Modifies a member variable of class MR::SelfIntersections::Settings named relaxIterations. 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 relaxIterations.
| MRC_API void MR_SelfIntersections_Settings_Set_subdivideEdgeLen | ( | MR_SelfIntersections_Settings * | _this, |
| float | value ) |
Edge length for subdivision of holes covers (0.0f means auto) FLT_MAX to disable subdivision Modifies a member variable of class MR::SelfIntersections::Settings named subdivideEdgeLen. 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 subdivideEdgeLen.
| MRC_API void MR_SelfIntersections_Settings_Set_touchIsIntersection | ( | MR_SelfIntersections_Settings * | _this, |
| bool | value ) |
If true then count touching faces as self-intersections Modifies a member variable of class MR::SelfIntersections::Settings named touchIsIntersection. 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 touchIsIntersection.