#include <MRCMesh/MRAffineXf.h>#include <MRCMesh/MRBox.h>#include <MRCMisc/exports.h>#include <stdbool.h>#include <stddef.h>Go to the source code of this file.
Typedefs | |
| typedef struct MR_Nesting_NestingResult | MR_Nesting_NestingResult |
| typedef struct MR_Nesting_MeshXf | MR_Nesting_MeshXf |
| typedef struct MR_Nesting_MeshXf MR_Nesting_MeshXf |
Generated from class MR::Nesting::MeshXf. 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).
| typedef struct MR_Nesting_NestingResult MR_Nesting_NestingResult |
Generated from class MR::Nesting::NestingResult. 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).
| MRC_API MR_Nesting_MeshXf * MR_Nesting_MeshXf_AssignFromAnother | ( | MR_Nesting_MeshXf * | _this, |
| const MR_Nesting_MeshXf * | _other ) |
Generated from method MR::Nesting::MeshXf::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.
| MRC_API MR_Nesting_MeshXf * MR_Nesting_MeshXf_ConstructFrom | ( | const MR_Mesh * | mesh, |
| MR_AffineXf3f | xf ) |
Constructs MR::Nesting::MeshXf elementwise. The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Nesting_MeshXf_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_Nesting_MeshXf * MR_Nesting_MeshXf_ConstructFromAnother | ( | const MR_Nesting_MeshXf * | _other | ) |
Generated from constructor MR::Nesting::MeshXf::MeshXf. 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_Nesting_MeshXf_Destroy() to free it when you're done using it.
| MRC_API MR_Nesting_MeshXf * MR_Nesting_MeshXf_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Nesting_MeshXf_Destroy() to free it when you're done using it.
| MRC_API MR_Nesting_MeshXf * MR_Nesting_MeshXf_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_Nesting_MeshXf_DestroyArray(). Use MR_Nesting_MeshXf_OffsetMutablePtr() and MR_Nesting_MeshXf_OffsetPtr() to access the array elements.
| MRC_API void MR_Nesting_MeshXf_Destroy | ( | const MR_Nesting_MeshXf * | _this | ) |
Destroys a heap-allocated instance of MR_Nesting_MeshXf. Does nothing if the pointer is null.
| MRC_API void MR_Nesting_MeshXf_DestroyArray | ( | const MR_Nesting_MeshXf * | _this | ) |
Destroys a heap-allocated array of MR_Nesting_MeshXf. Does nothing if the pointer is null.
| MRC_API const MR_Mesh *const * MR_Nesting_MeshXf_Get_mesh | ( | const MR_Nesting_MeshXf * | _this | ) |
input mesh - should not be nullptr Returns a pointer to a member variable of class MR::Nesting::MeshXf named mesh. 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_AffineXf3f * MR_Nesting_MeshXf_Get_xf | ( | const MR_Nesting_MeshXf * | _this | ) |
input mesh world transformation before nesting Returns a pointer to a member variable of class MR::Nesting::MeshXf named xf. 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_Mesh ** MR_Nesting_MeshXf_GetMutable_mesh | ( | MR_Nesting_MeshXf * | _this | ) |
input mesh - should not be nullptr Returns a mutable pointer to a member variable of class MR::Nesting::MeshXf named mesh. 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_AffineXf3f * MR_Nesting_MeshXf_GetMutable_xf | ( | MR_Nesting_MeshXf * | _this | ) |
input mesh world transformation before nesting Returns a mutable pointer to a member variable of class MR::Nesting::MeshXf named xf. 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_Nesting_MeshXf * MR_Nesting_MeshXf_OffsetMutablePtr | ( | MR_Nesting_MeshXf * | 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_Nesting_MeshXf * MR_Nesting_MeshXf_OffsetPtr | ( | const MR_Nesting_MeshXf * | 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_Nesting_MeshXf_Set_mesh | ( | MR_Nesting_MeshXf * | _this, |
| const MR_Mesh * | value ) |
input mesh - should not be nullptr Modifies a member variable of class MR::Nesting::MeshXf named mesh. 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 mesh. When this function is called, this object will drop object references it held previously in mesh.
| MRC_API void MR_Nesting_MeshXf_Set_xf | ( | MR_Nesting_MeshXf * | _this, |
| MR_AffineXf3f | value ) |
input mesh world transformation before nesting Modifies a member variable of class MR::Nesting::MeshXf named xf. 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 xf. When this function is called, this object will drop object references it held previously in xf.
| MRC_API MR_Nesting_NestingBaseParams * MR_Nesting_NestingBaseParams_AssignFromAnother | ( | MR_Nesting_NestingBaseParams * | _this, |
| const MR_Nesting_NestingBaseParams * | _other ) |
Generated from method MR::Nesting::NestingBaseParams::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.
| MRC_API MR_Nesting_NestingBaseParams * MR_Nesting_NestingBaseParams_ConstructFrom | ( | MR_Box3f | nest, |
| float | minInterval ) |
Constructs MR::Nesting::NestingBaseParams elementwise. The reference to the parameter nest might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Nesting_NestingBaseParams_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_Nesting_NestingBaseParams * MR_Nesting_NestingBaseParams_ConstructFromAnother | ( | const MR_Nesting_NestingBaseParams * | _other | ) |
Generated from constructor MR::Nesting::NestingBaseParams::NestingBaseParams. 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_Nesting_NestingBaseParams_Destroy() to free it when you're done using it.
| MRC_API MR_Nesting_NestingBaseParams * MR_Nesting_NestingBaseParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Nesting_NestingBaseParams_Destroy() to free it when you're done using it.
| MRC_API MR_Nesting_NestingBaseParams * MR_Nesting_NestingBaseParams_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_Nesting_NestingBaseParams_DestroyArray(). Use MR_Nesting_NestingBaseParams_OffsetMutablePtr() and MR_Nesting_NestingBaseParams_OffsetPtr() to access the array elements.
| MRC_API void MR_Nesting_NestingBaseParams_Destroy | ( | const MR_Nesting_NestingBaseParams * | _this | ) |
Destroys a heap-allocated instance of MR_Nesting_NestingBaseParams. Does nothing if the pointer is null.
| MRC_API void MR_Nesting_NestingBaseParams_DestroyArray | ( | const MR_Nesting_NestingBaseParams * | _this | ) |
Destroys a heap-allocated array of MR_Nesting_NestingBaseParams. Does nothing if the pointer is null.
| MRC_API const float * MR_Nesting_NestingBaseParams_Get_minInterval | ( | const MR_Nesting_NestingBaseParams * | _this | ) |
minimum space among meshes in the nest Returns a pointer to a member variable of class MR::Nesting::NestingBaseParams named minInterval. 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_Box3f * MR_Nesting_NestingBaseParams_Get_nest | ( | const MR_Nesting_NestingBaseParams * | _this | ) |
available nest Returns a pointer to a member variable of class MR::Nesting::NestingBaseParams named nest. 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_Nesting_NestingBaseParams_GetMutable_minInterval | ( | MR_Nesting_NestingBaseParams * | _this | ) |
minimum space among meshes in the nest Returns a mutable pointer to a member variable of class MR::Nesting::NestingBaseParams named minInterval. 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_Box3f * MR_Nesting_NestingBaseParams_GetMutable_nest | ( | MR_Nesting_NestingBaseParams * | _this | ) |
available nest Returns a mutable pointer to a member variable of class MR::Nesting::NestingBaseParams named nest. 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_Nesting_NestingBaseParams * MR_Nesting_NestingBaseParams_OffsetMutablePtr | ( | MR_Nesting_NestingBaseParams * | 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_Nesting_NestingBaseParams * MR_Nesting_NestingBaseParams_OffsetPtr | ( | const MR_Nesting_NestingBaseParams * | 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_Nesting_NestingBaseParams_Set_minInterval | ( | MR_Nesting_NestingBaseParams * | _this, |
| float | value ) |
minimum space among meshes in the nest Modifies a member variable of class MR::Nesting::NestingBaseParams named minInterval. 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 minInterval.
| MRC_API void MR_Nesting_NestingBaseParams_Set_nest | ( | MR_Nesting_NestingBaseParams * | _this, |
| MR_Box3f | value ) |
available nest Modifies a member variable of class MR::Nesting::NestingBaseParams named nest. 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 nest. When this function is called, this object will drop object references it held previously in nest.
| MRC_API MR_Nesting_NestingResult * MR_Nesting_NestingResult_AssignFromAnother | ( | MR_Nesting_NestingResult * | _this, |
| const MR_Nesting_NestingResult * | _other ) |
Generated from method MR::Nesting::NestingResult::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.
| MRC_API MR_Nesting_NestingResult * MR_Nesting_NestingResult_ConstructFrom | ( | MR_AffineXf3f | xf, |
| bool | nested ) |
Constructs MR::Nesting::NestingResult elementwise. The reference to the parameter xf might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Nesting_NestingResult_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_Nesting_NestingResult * MR_Nesting_NestingResult_ConstructFromAnother | ( | const MR_Nesting_NestingResult * | _other | ) |
Generated from constructor MR::Nesting::NestingResult::NestingResult. 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_Nesting_NestingResult_Destroy() to free it when you're done using it.
| MRC_API MR_Nesting_NestingResult * MR_Nesting_NestingResult_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_Nesting_NestingResult_Destroy() to free it when you're done using it.
| MRC_API MR_Nesting_NestingResult * MR_Nesting_NestingResult_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_Nesting_NestingResult_DestroyArray(). Use MR_Nesting_NestingResult_OffsetMutablePtr() and MR_Nesting_NestingResult_OffsetPtr() to access the array elements.
| MRC_API void MR_Nesting_NestingResult_Destroy | ( | const MR_Nesting_NestingResult * | _this | ) |
Destroys a heap-allocated instance of MR_Nesting_NestingResult. Does nothing if the pointer is null.
| MRC_API void MR_Nesting_NestingResult_DestroyArray | ( | const MR_Nesting_NestingResult * | _this | ) |
Destroys a heap-allocated array of MR_Nesting_NestingResult. Does nothing if the pointer is null.
| MRC_API const bool * MR_Nesting_NestingResult_Get_nested | ( | const MR_Nesting_NestingResult * | _this | ) |
false - means that this object does not fit the nest Returns a pointer to a member variable of class MR::Nesting::NestingResult named nested. 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_AffineXf3f * MR_Nesting_NestingResult_Get_xf | ( | const MR_Nesting_NestingResult * | _this | ) |
best found xf for this object (might be equal with input xf if no good nesting was found) Returns a pointer to a member variable of class MR::Nesting::NestingResult named xf. 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_Nesting_NestingResult_GetMutable_nested | ( | MR_Nesting_NestingResult * | _this | ) |
false - means that this object does not fit the nest Returns a mutable pointer to a member variable of class MR::Nesting::NestingResult named nested. 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_AffineXf3f * MR_Nesting_NestingResult_GetMutable_xf | ( | MR_Nesting_NestingResult * | _this | ) |
best found xf for this object (might be equal with input xf if no good nesting was found) Returns a mutable pointer to a member variable of class MR::Nesting::NestingResult named xf. 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_Nesting_NestingResult * MR_Nesting_NestingResult_OffsetMutablePtr | ( | MR_Nesting_NestingResult * | 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_Nesting_NestingResult * MR_Nesting_NestingResult_OffsetPtr | ( | const MR_Nesting_NestingResult * | 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_Nesting_NestingResult_Set_nested | ( | MR_Nesting_NestingResult * | _this, |
| bool | value ) |
false - means that this object does not fit the nest Modifies a member variable of class MR::Nesting::NestingResult named nested. 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 nested.
| MRC_API void MR_Nesting_NestingResult_Set_xf | ( | MR_Nesting_NestingResult * | _this, |
| MR_AffineXf3f | value ) |
best found xf for this object (might be equal with input xf if no good nesting was found) Modifies a member variable of class MR::Nesting::NestingResult named xf. 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 xf. When this function is called, this object will drop object references it held previously in xf.