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
 Generated from class 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)
 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.
 
MRC_API MR_EmbeddedStructureParametersMR_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.
 
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

◆ 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 a method of class MR::EmbeddedStructureParameters named operator=. Parameter _this can not be null. It is a single object. Parameter _other 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_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. 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_ConstructFromAnother()

MRC_API MR_EmbeddedStructureParameters * MR_EmbeddedStructureParameters_ConstructFromAnother ( const MR_EmbeddedStructureParameters * _other)

Generated from a constructor of class MR::EmbeddedStructureParameters. Parameter _other can not be null. It is a single 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.