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

Go to the source code of this file.

Typedefs

typedef struct MR_FaceBitSet MR_FaceBitSet
 
typedef struct MR_FaceMap MR_FaceMap
 
typedef struct MR_Mesh MR_Mesh
 
typedef struct MR_expected_MR_Mesh_std_string MR_expected_MR_Mesh_std_string
 
typedef struct MR_EmbeddedStructureParameters MR_EmbeddedStructureParameters
 

Functions

MRC_API const float * MR_EmbeddedStructureParameters_Get_fillAngle (const MR_EmbeddedStructureParameters *_this)
 
MRC_API void MR_EmbeddedStructureParameters_Set_fillAngle (MR_EmbeddedStructureParameters *_this, float value)
 
MRC_API float * MR_EmbeddedStructureParameters_GetMutable_fillAngle (MR_EmbeddedStructureParameters *_this)
 
MRC_API const float * MR_EmbeddedStructureParameters_Get_cutAngle (const MR_EmbeddedStructureParameters *_this)
 
MRC_API void MR_EmbeddedStructureParameters_Set_cutAngle (MR_EmbeddedStructureParameters *_this, float value)
 
MRC_API float * MR_EmbeddedStructureParameters_GetMutable_cutAngle (MR_EmbeddedStructureParameters *_this)
 
MRC_API const float * MR_EmbeddedStructureParameters_Get_minAnglePrecision (const MR_EmbeddedStructureParameters *_this)
 
MRC_API void MR_EmbeddedStructureParameters_Set_minAnglePrecision (MR_EmbeddedStructureParameters *_this, float value)
 
MRC_API float * MR_EmbeddedStructureParameters_GetMutable_minAnglePrecision (MR_EmbeddedStructureParameters *_this)
 
MRC_API MR_FaceBitSet *const * MR_EmbeddedStructureParameters_Get_outStructFaces (const MR_EmbeddedStructureParameters *_this)
 
MRC_API void MR_EmbeddedStructureParameters_Set_outStructFaces (MR_EmbeddedStructureParameters *_this, MR_FaceBitSet *value)
 
MRC_API MR_FaceBitSet ** MR_EmbeddedStructureParameters_GetMutable_outStructFaces (MR_EmbeddedStructureParameters *_this)
 
MRC_API MR_FaceBitSet *const * MR_EmbeddedStructureParameters_Get_outFillFaces (const MR_EmbeddedStructureParameters *_this)
 
MRC_API void MR_EmbeddedStructureParameters_Set_outFillFaces (MR_EmbeddedStructureParameters *_this, MR_FaceBitSet *value)
 
MRC_API MR_FaceBitSet ** MR_EmbeddedStructureParameters_GetMutable_outFillFaces (MR_EmbeddedStructureParameters *_this)
 
MRC_API MR_FaceBitSet *const * MR_EmbeddedStructureParameters_Get_outCutFaces (const MR_EmbeddedStructureParameters *_this)
 
MRC_API void MR_EmbeddedStructureParameters_Set_outCutFaces (MR_EmbeddedStructureParameters *_this, MR_FaceBitSet *value)
 
MRC_API MR_FaceBitSet ** MR_EmbeddedStructureParameters_GetMutable_outCutFaces (MR_EmbeddedStructureParameters *_this)
 
MRC_API MR_FaceMap *const * MR_EmbeddedStructureParameters_Get_new2oldFaces (const MR_EmbeddedStructureParameters *_this)
 
MRC_API void MR_EmbeddedStructureParameters_Set_new2oldFaces (MR_EmbeddedStructureParameters *_this, MR_FaceMap *value)
 
MRC_API MR_FaceMap ** MR_EmbeddedStructureParameters_GetMutable_new2oldFaces (MR_EmbeddedStructureParameters *_this)
 
MRC_API MR_EmbeddedStructureParametersMR_EmbeddedStructureParameters_DefaultConstruct (void)
 
MRC_API MR_EmbeddedStructureParametersMR_EmbeddedStructureParameters_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_EmbeddedStructureParametersMR_EmbeddedStructureParameters_ConstructFrom (float fillAngle, float cutAngle, float minAnglePrecision, MR_FaceBitSet *outStructFaces, MR_FaceBitSet *outFillFaces, MR_FaceBitSet *outCutFaces, MR_FaceMap *new2oldFaces)
 
MRC_API const MR_EmbeddedStructureParametersMR_EmbeddedStructureParameters_OffsetPtr (const MR_EmbeddedStructureParameters *ptr, ptrdiff_t i)
 
MRC_API MR_EmbeddedStructureParametersMR_EmbeddedStructureParameters_OffsetMutablePtr (MR_EmbeddedStructureParameters *ptr, ptrdiff_t i)
 
MRC_API MR_EmbeddedStructureParametersMR_EmbeddedStructureParameters_ConstructFromAnother (const MR_EmbeddedStructureParameters *_other)
 
MRC_API void MR_EmbeddedStructureParameters_Destroy (const MR_EmbeddedStructureParameters *_this)
 Destroys a heap-allocated instance of MR_EmbeddedStructureParameters. Does nothing if the pointer is null.
 
MRC_API void MR_EmbeddedStructureParameters_DestroyArray (const MR_EmbeddedStructureParameters *_this)
 Destroys a heap-allocated array of MR_EmbeddedStructureParameters. Does nothing if the pointer is null.
 
MRC_API MR_EmbeddedStructureParametersMR_EmbeddedStructureParameters_AssignFromAnother (MR_EmbeddedStructureParameters *_this, const MR_EmbeddedStructureParameters *_other)
 
MRC_API MR_expected_MR_Mesh_std_stringMR_embedStructureToTerrain (const MR_Mesh *terrain, const MR_Mesh *structure, const MR_EmbeddedStructureParameters *params)
 

Typedef Documentation

◆ MR_EmbeddedStructureParameters

Generated from class MR::EmbeddedStructureParameters. 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_expected_MR_Mesh_std_string

◆ MR_FaceBitSet

typedef struct MR_FaceBitSet MR_FaceBitSet

◆ MR_FaceMap

typedef struct MR_FaceMap MR_FaceMap

◆ MR_Mesh

typedef struct MR_Mesh MR_Mesh

Function Documentation

◆ MR_EmbeddedStructureParameters_AssignFromAnother()

MRC_API MR_EmbeddedStructureParameters * MR_EmbeddedStructureParameters_AssignFromAnother ( MR_EmbeddedStructureParameters * _this,
const MR_EmbeddedStructureParameters * _other )

Generated from method MR::EmbeddedStructureParameters::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 had previously.

◆ MR_EmbeddedStructureParameters_ConstructFrom()

MRC_API MR_EmbeddedStructureParameters * MR_EmbeddedStructureParameters_ConstructFrom ( float fillAngle,
float cutAngle,
float minAnglePrecision,
MR_FaceBitSet * outStructFaces,
MR_FaceBitSet * outFillFaces,
MR_FaceBitSet * outCutFaces,
MR_FaceMap * new2oldFaces )

Constructs MR::EmbeddedStructureParameters elementwise. The reference to the parameter outStructFaces might be preserved in the constructed object. The reference to the parameter outFillFaces might be preserved in the constructed object. The reference to the parameter outCutFaces might be preserved in the constructed object. The reference to the parameter new2oldFaces might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_EmbeddedStructureParameters_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.

◆ MR_EmbeddedStructureParameters_ConstructFromAnother()

MRC_API MR_EmbeddedStructureParameters * MR_EmbeddedStructureParameters_ConstructFromAnother ( const MR_EmbeddedStructureParameters * _other)

Generated from constructor MR::EmbeddedStructureParameters::EmbeddedStructureParameters. 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_EmbeddedStructureParameters_Destroy() to free it when you're done using it.

◆ MR_EmbeddedStructureParameters_DefaultConstruct()

MRC_API MR_EmbeddedStructureParameters * MR_EmbeddedStructureParameters_DefaultConstruct ( void )

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

◆ MR_EmbeddedStructureParameters_DefaultConstructArray()

MRC_API MR_EmbeddedStructureParameters * MR_EmbeddedStructureParameters_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_EmbeddedStructureParameters_DestroyArray(). Use MR_EmbeddedStructureParameters_OffsetMutablePtr() and MR_EmbeddedStructureParameters_OffsetPtr() to access the array elements.

◆ MR_EmbeddedStructureParameters_Destroy()

MRC_API void MR_EmbeddedStructureParameters_Destroy ( const MR_EmbeddedStructureParameters * _this)

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

◆ MR_EmbeddedStructureParameters_DestroyArray()

MRC_API void MR_EmbeddedStructureParameters_DestroyArray ( const MR_EmbeddedStructureParameters * _this)

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

◆ MR_EmbeddedStructureParameters_Get_cutAngle()

MRC_API const float * MR_EmbeddedStructureParameters_Get_cutAngle ( const MR_EmbeddedStructureParameters * _this)

Returns a pointer to a member variable of class MR::EmbeddedStructureParameters named cutAngle. 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.

◆ MR_EmbeddedStructureParameters_Get_fillAngle()

MRC_API const float * MR_EmbeddedStructureParameters_Get_fillAngle ( const MR_EmbeddedStructureParameters * _this)

Returns a pointer to a member variable of class MR::EmbeddedStructureParameters named fillAngle. 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.

◆ MR_EmbeddedStructureParameters_Get_minAnglePrecision()

MRC_API const float * MR_EmbeddedStructureParameters_Get_minAnglePrecision ( const MR_EmbeddedStructureParameters * _this)

Returns a pointer to a member variable of class MR::EmbeddedStructureParameters named minAnglePrecision. 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.

◆ MR_EmbeddedStructureParameters_Get_new2oldFaces()

MRC_API MR_FaceMap *const * MR_EmbeddedStructureParameters_Get_new2oldFaces ( const MR_EmbeddedStructureParameters * _this)

Returns a pointer to a member variable of class MR::EmbeddedStructureParameters named new2oldFaces. 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.

◆ MR_EmbeddedStructureParameters_Get_outCutFaces()

MRC_API MR_FaceBitSet *const * MR_EmbeddedStructureParameters_Get_outCutFaces ( const MR_EmbeddedStructureParameters * _this)

Returns a pointer to a member variable of class MR::EmbeddedStructureParameters named outCutFaces. 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.

◆ MR_EmbeddedStructureParameters_Get_outFillFaces()

MRC_API MR_FaceBitSet *const * MR_EmbeddedStructureParameters_Get_outFillFaces ( const MR_EmbeddedStructureParameters * _this)

Returns a pointer to a member variable of class MR::EmbeddedStructureParameters named outFillFaces. 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.

◆ MR_EmbeddedStructureParameters_Get_outStructFaces()

MRC_API MR_FaceBitSet *const * MR_EmbeddedStructureParameters_Get_outStructFaces ( const MR_EmbeddedStructureParameters * _this)

Returns a pointer to a member variable of class MR::EmbeddedStructureParameters named outStructFaces. 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.

◆ MR_EmbeddedStructureParameters_GetMutable_cutAngle()

MRC_API float * MR_EmbeddedStructureParameters_GetMutable_cutAngle ( MR_EmbeddedStructureParameters * _this)

Returns a mutable pointer to a member variable of class MR::EmbeddedStructureParameters named cutAngle. 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.

◆ MR_EmbeddedStructureParameters_GetMutable_fillAngle()

MRC_API float * MR_EmbeddedStructureParameters_GetMutable_fillAngle ( MR_EmbeddedStructureParameters * _this)

Returns a mutable pointer to a member variable of class MR::EmbeddedStructureParameters named fillAngle. 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.

◆ MR_EmbeddedStructureParameters_GetMutable_minAnglePrecision()

MRC_API float * MR_EmbeddedStructureParameters_GetMutable_minAnglePrecision ( MR_EmbeddedStructureParameters * _this)

Returns a mutable pointer to a member variable of class MR::EmbeddedStructureParameters named minAnglePrecision. 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.

◆ MR_EmbeddedStructureParameters_GetMutable_new2oldFaces()

MRC_API MR_FaceMap ** MR_EmbeddedStructureParameters_GetMutable_new2oldFaces ( MR_EmbeddedStructureParameters * _this)

Returns a mutable pointer to a member variable of class MR::EmbeddedStructureParameters named new2oldFaces. 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.

◆ MR_EmbeddedStructureParameters_GetMutable_outCutFaces()

MRC_API MR_FaceBitSet ** MR_EmbeddedStructureParameters_GetMutable_outCutFaces ( MR_EmbeddedStructureParameters * _this)

Returns a mutable pointer to a member variable of class MR::EmbeddedStructureParameters named outCutFaces. 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.

◆ MR_EmbeddedStructureParameters_GetMutable_outFillFaces()

MRC_API MR_FaceBitSet ** MR_EmbeddedStructureParameters_GetMutable_outFillFaces ( MR_EmbeddedStructureParameters * _this)

Returns a mutable pointer to a member variable of class MR::EmbeddedStructureParameters named outFillFaces. 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.

◆ MR_EmbeddedStructureParameters_GetMutable_outStructFaces()

MRC_API MR_FaceBitSet ** MR_EmbeddedStructureParameters_GetMutable_outStructFaces ( MR_EmbeddedStructureParameters * _this)

Returns a mutable pointer to a member variable of class MR::EmbeddedStructureParameters named outStructFaces. 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.

◆ MR_EmbeddedStructureParameters_OffsetMutablePtr()

MRC_API MR_EmbeddedStructureParameters * MR_EmbeddedStructureParameters_OffsetMutablePtr ( MR_EmbeddedStructureParameters * 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_EmbeddedStructureParameters_OffsetPtr()

MRC_API const MR_EmbeddedStructureParameters * MR_EmbeddedStructureParameters_OffsetPtr ( const MR_EmbeddedStructureParameters * 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_EmbeddedStructureParameters_Set_cutAngle()

MRC_API void MR_EmbeddedStructureParameters_Set_cutAngle ( MR_EmbeddedStructureParameters * _this,
float value )

Modifies a member variable of class MR::EmbeddedStructureParameters named cutAngle. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in cutAngle.

◆ MR_EmbeddedStructureParameters_Set_fillAngle()

MRC_API void MR_EmbeddedStructureParameters_Set_fillAngle ( MR_EmbeddedStructureParameters * _this,
float value )

Modifies a member variable of class MR::EmbeddedStructureParameters named fillAngle. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in fillAngle.

◆ MR_EmbeddedStructureParameters_Set_minAnglePrecision()

MRC_API void MR_EmbeddedStructureParameters_Set_minAnglePrecision ( MR_EmbeddedStructureParameters * _this,
float value )

Modifies a member variable of class MR::EmbeddedStructureParameters named minAnglePrecision. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in minAnglePrecision.

◆ MR_EmbeddedStructureParameters_Set_new2oldFaces()

MRC_API void MR_EmbeddedStructureParameters_Set_new2oldFaces ( MR_EmbeddedStructureParameters * _this,
MR_FaceMap * value )

Modifies a member variable of class MR::EmbeddedStructureParameters named new2oldFaces. 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 new2oldFaces. When this function is called, this object will drop object references it had previously in new2oldFaces.

◆ MR_EmbeddedStructureParameters_Set_outCutFaces()

MRC_API void MR_EmbeddedStructureParameters_Set_outCutFaces ( MR_EmbeddedStructureParameters * _this,
MR_FaceBitSet * value )

Modifies a member variable of class MR::EmbeddedStructureParameters named outCutFaces. 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 outCutFaces. When this function is called, this object will drop object references it had previously in outCutFaces.

◆ MR_EmbeddedStructureParameters_Set_outFillFaces()

MRC_API void MR_EmbeddedStructureParameters_Set_outFillFaces ( MR_EmbeddedStructureParameters * _this,
MR_FaceBitSet * value )

Modifies a member variable of class MR::EmbeddedStructureParameters named outFillFaces. 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 outFillFaces. When this function is called, this object will drop object references it had previously in outFillFaces.

◆ MR_EmbeddedStructureParameters_Set_outStructFaces()

MRC_API void MR_EmbeddedStructureParameters_Set_outStructFaces ( MR_EmbeddedStructureParameters * _this,
MR_FaceBitSet * value )

Modifies a member variable of class MR::EmbeddedStructureParameters named outStructFaces. 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 outStructFaces. When this function is called, this object will drop object references it had previously in outStructFaces.

◆ MR_embedStructureToTerrain()

MRC_API MR_expected_MR_Mesh_std_string * MR_embedStructureToTerrain ( const MR_Mesh * terrain,
const MR_Mesh * structure,
const MR_EmbeddedStructureParameters * params )

Generated from function MR::embedStructureToTerrain. Parameter terrain can not be null. It is a single object. Parameter structure can not be null. It is a single object. Parameter params can not be null. It is a single object. 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.