MeshLib C Docs
Loading...
Searching...
No Matches
MRDenseBox.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMesh/MRVector3.h>
4#include <MRCMisc/exports.h>
5
6#include <stdbool.h>
7#include <stddef.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct MR_AffineXf3f MR_AffineXf3f; // Defined in `#include <MRCMesh/MRAffineXf.h>`.
14typedef struct MR_Box3f MR_Box3f; // Defined in `#include <MRCMesh/MRBox.h>`.
15typedef struct MR_MeshPart MR_MeshPart; // Defined in `#include <MRCMesh/MRMeshPart.h>`.
16typedef struct MR_PointCloud MR_PointCloud; // Defined in `#include <MRCMesh/MRPointCloud.h>`.
17typedef struct MR_Polyline3 MR_Polyline3; // Defined in `#include <MRCMesh/MRPolyline.h>`.
18typedef struct MR_Vector3b MR_Vector3b; // Defined in `#include <MRCMesh/MRVector3.h>`.
19typedef struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f; // Defined in `#include <MRCMisc/std_vector_MR_Vector3f.h>`.
20typedef struct MR_std_vector_float MR_std_vector_float; // Defined in `#include <MRCMisc/std_vector_float.h>`.
21
22
28typedef struct MR_DenseBox MR_DenseBox;
29
34
36MRC_API const MR_DenseBox *MR_DenseBox_OffsetPtr(const MR_DenseBox *ptr, ptrdiff_t i);
37
40
47
55
62
69
76
79
82
88
93
100
106
112
118
124
125#ifdef __cplusplus
126} // extern "C"
127#endif
struct MR_Polyline3 MR_Polyline3
Definition MRAABBTreePolyline.h:16
struct MR_MeshPart MR_MeshPart
Definition MRAABBTree.h:14
struct MR_std_vector_float MR_std_vector_float
Definition MRBestFit.h:27
struct MR_std_vector_MR_Vector3f MR_std_vector_MR_Vector3f
Definition MRBestFit.h:26
struct MR_PointCloud MR_PointCloud
Definition MRCtm.h:15
MRC_API MR_DenseBox * MR_DenseBox_Construct_2_MR_MeshPart(const MR_MeshPart *meshPart, const MR_AffineXf3f *xf)
MRC_API MR_DenseBox * MR_DenseBox_ConstructFromAnother(const MR_DenseBox *_other)
MRC_API const MR_AffineXf3f * MR_DenseBox_basisXf(const MR_DenseBox *_this)
MRC_API MR_DenseBox * MR_DenseBox_Construct_3(const MR_std_vector_MR_Vector3f *points, const MR_std_vector_float *weights, const MR_AffineXf3f *xf)
MRC_API MR_DenseBox * MR_DenseBox_Construct_2_MR_PointCloud(const MR_PointCloud *points, const MR_AffineXf3f *xf)
MRC_API MR_DenseBox * MR_DenseBox_Construct_2_std_vector_MR_Vector3f(const MR_std_vector_MR_Vector3f *points, const MR_AffineXf3f *xf)
MRC_API const MR_Box3f * MR_DenseBox_box(const MR_DenseBox *_this)
MRC_API const MR_AffineXf3f * MR_DenseBox_basisXfInv(const MR_DenseBox *_this)
MRC_API MR_Vector3f MR_DenseBox_corner(const MR_DenseBox *_this, const MR_Vector3b *index)
MRC_API MR_DenseBox * MR_DenseBox_Construct_2_MR_Polyline3(const MR_Polyline3 *line, const MR_AffineXf3f *xf)
MRC_API bool MR_DenseBox_contains(const MR_DenseBox *_this, const MR_Vector3f *pt)
MRC_API MR_DenseBox * MR_DenseBox_OffsetMutablePtr(MR_DenseBox *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API MR_DenseBox * MR_DenseBox_AssignFromAnother(MR_DenseBox *_this, const MR_DenseBox *_other)
MRC_API MR_Vector3f MR_DenseBox_center(const MR_DenseBox *_this)
MRC_API void MR_DenseBox_Destroy(const MR_DenseBox *_this)
Destroys a heap-allocated instance of MR_DenseBox. Does nothing if the pointer is null.
struct MR_DenseBox MR_DenseBox
Definition MRDenseBox.h:28
MRC_API const MR_DenseBox * MR_DenseBox_OffsetPtr(const MR_DenseBox *ptr, ptrdiff_t i)
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the...
MRC_API void MR_DenseBox_DestroyArray(const MR_DenseBox *_this)
Destroys a heap-allocated array of MR_DenseBox. Does nothing if the pointer is null.
#define MRC_API
Definition exports.h:11
Definition MRAffineXf.h:36
Definition MRBox.h:109
Definition MRVector3.h:24
Definition MRVector3.h:51