#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stddef.h>
Go to the source code of this file.
|
| MRC_API const MR_Triangulation * | MR_TriMesh_Get_tris (const MR_TriMesh *_this) |
| |
| MRC_API void | MR_TriMesh_Set_tris (MR_TriMesh *_this, MR_PassBy value_pass_by, MR_Triangulation *value) |
| |
| MRC_API MR_Triangulation * | MR_TriMesh_GetMutable_tris (MR_TriMesh *_this) |
| |
| MRC_API const MR_VertCoords * | MR_TriMesh_Get_points (const MR_TriMesh *_this) |
| |
| MRC_API void | MR_TriMesh_Set_points (MR_TriMesh *_this, MR_PassBy value_pass_by, MR_VertCoords *value) |
| |
| MRC_API MR_VertCoords * | MR_TriMesh_GetMutable_points (MR_TriMesh *_this) |
| |
| MRC_API MR_TriMesh * | MR_TriMesh_DefaultConstruct (void) |
| |
| MRC_API MR_TriMesh * | MR_TriMesh_DefaultConstructArray (size_t num_elems) |
| |
| MRC_API MR_TriMesh * | MR_TriMesh_ConstructFrom (MR_PassBy tris_pass_by, MR_Triangulation *tris, MR_PassBy points_pass_by, MR_VertCoords *points) |
| |
| MRC_API const MR_TriMesh * | MR_TriMesh_OffsetPtr (const MR_TriMesh *ptr, ptrdiff_t i) |
| |
| MRC_API MR_TriMesh * | MR_TriMesh_OffsetMutablePtr (MR_TriMesh *ptr, ptrdiff_t i) |
| |
| MRC_API MR_TriMesh * | MR_TriMesh_ConstructFromAnother (MR_PassBy _other_pass_by, MR_TriMesh *_other) |
| |
| MRC_API void | MR_TriMesh_Destroy (const MR_TriMesh *_this) |
| | Destroys a heap-allocated instance of MR_TriMesh. Does nothing if the pointer is null.
|
| |
| MRC_API void | MR_TriMesh_DestroyArray (const MR_TriMesh *_this) |
| | Destroys a heap-allocated array of MR_TriMesh. Does nothing if the pointer is null.
|
| |
| MRC_API MR_TriMesh * | MR_TriMesh_AssignFromAnother (MR_TriMesh *_this, MR_PassBy _other_pass_by, MR_TriMesh *_other) |
| |
◆ MR_Triangulation
◆ MR_TriMesh
very simple structure for storing mesh of triangles only, without easy navigation between neighbor elements as in Mesh Generated from class MR::TriMesh. 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_VertCoords
◆ MR_TriMesh_AssignFromAnother()
Generated from method MR::TriMesh::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 had previously.
◆ MR_TriMesh_ConstructFrom()
Constructs MR::TriMesh elementwise. The reference to the parameter tris might be preserved in the constructed object. The reference to the parameter points might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_TriMesh_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_TriMesh_ConstructFromAnother()
Generated from constructor MR::TriMesh::TriMesh. 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_TriMesh_Destroy() to free it when you're done using it.
◆ MR_TriMesh_DefaultConstruct()
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_TriMesh_Destroy() to free it when you're done using it.
◆ MR_TriMesh_DefaultConstructArray()
◆ MR_TriMesh_Destroy()
Destroys a heap-allocated instance of MR_TriMesh. Does nothing if the pointer is null.
◆ MR_TriMesh_DestroyArray()
Destroys a heap-allocated array of MR_TriMesh. Does nothing if the pointer is null.
◆ MR_TriMesh_Get_points()
Returns a pointer to a member variable of class MR::TriMesh named points. 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_TriMesh_Get_tris()
Returns a pointer to a member variable of class MR::TriMesh named tris. 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_TriMesh_GetMutable_points()
Returns a mutable pointer to a member variable of class MR::TriMesh named points. 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_TriMesh_GetMutable_tris()
Returns a mutable pointer to a member variable of class MR::TriMesh named tris. 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_TriMesh_OffsetMutablePtr()
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_TriMesh_OffsetPtr()
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_TriMesh_Set_points()
Modifies a member variable of class MR::TriMesh named points. 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 points. When this function is called, this object will drop object references it had previously in points.
◆ MR_TriMesh_Set_tris()
Modifies a member variable of class MR::TriMesh named tris. 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 tris. When this function is called, this object will drop object references it had previously in tris.