MeshLib C Docs
Loading...
Searching...
No Matches
MRBall.h File Reference
#include <MRCMesh/MRVector2.h>
#include <MRCMesh/MRVector3.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_Ball1f MR_Ball1f
 
typedef struct MR_Ball1d MR_Ball1d
 
typedef struct MR_Ball2f MR_Ball2f
 
typedef struct MR_Ball2d MR_Ball2d
 
typedef struct MR_Ball3f MR_Ball3f
 
typedef struct MR_Ball3d MR_Ball3d
 

Functions

MRC_API const int * MR_Ball1f_Get_elements (void)
 
MRC_API const float * MR_Ball1f_Get_center (const MR_Ball1f *_this)
 
MRC_API void MR_Ball1f_Set_center (MR_Ball1f *_this, float value)
 
MRC_API float * MR_Ball1f_GetMutable_center (MR_Ball1f *_this)
 
MRC_API const float * MR_Ball1f_Get_radiusSq (const MR_Ball1f *_this)
 
MRC_API void MR_Ball1f_Set_radiusSq (MR_Ball1f *_this, float value)
 
MRC_API float * MR_Ball1f_GetMutable_radiusSq (MR_Ball1f *_this)
 
MRC_API MR_Ball1fMR_Ball1f_DefaultConstruct (void)
 
MRC_API MR_Ball1fMR_Ball1f_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_Ball1fMR_Ball1f_ConstructFrom (float center, float radiusSq)
 
MRC_API const MR_Ball1fMR_Ball1f_OffsetPtr (const MR_Ball1f *ptr, ptrdiff_t i)
 
MRC_API MR_Ball1fMR_Ball1f_OffsetMutablePtr (MR_Ball1f *ptr, ptrdiff_t i)
 
MRC_API MR_Ball1fMR_Ball1f_ConstructFromAnother (const MR_Ball1f *_other)
 
MRC_API void MR_Ball1f_Destroy (const MR_Ball1f *_this)
 Destroys a heap-allocated instance of MR_Ball1f. Does nothing if the pointer is null.
 
MRC_API void MR_Ball1f_DestroyArray (const MR_Ball1f *_this)
 Destroys a heap-allocated array of MR_Ball1f. Does nothing if the pointer is null.
 
MRC_API MR_Ball1fMR_Ball1f_AssignFromAnother (MR_Ball1f *_this, const MR_Ball1f *_other)
 
MRC_API bool MR_Ball1f_inside (const MR_Ball1f *_this, const float *pt)
 
MRC_API bool MR_Ball1f_outside (const MR_Ball1f *_this, const float *pt)
 
MRC_API const int * MR_Ball1d_Get_elements (void)
 
MRC_API const double * MR_Ball1d_Get_center (const MR_Ball1d *_this)
 
MRC_API void MR_Ball1d_Set_center (MR_Ball1d *_this, double value)
 
MRC_API double * MR_Ball1d_GetMutable_center (MR_Ball1d *_this)
 
MRC_API const double * MR_Ball1d_Get_radiusSq (const MR_Ball1d *_this)
 
MRC_API void MR_Ball1d_Set_radiusSq (MR_Ball1d *_this, double value)
 
MRC_API double * MR_Ball1d_GetMutable_radiusSq (MR_Ball1d *_this)
 
MRC_API MR_Ball1dMR_Ball1d_DefaultConstruct (void)
 
MRC_API MR_Ball1dMR_Ball1d_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_Ball1dMR_Ball1d_ConstructFrom (double center, double radiusSq)
 
MRC_API const MR_Ball1dMR_Ball1d_OffsetPtr (const MR_Ball1d *ptr, ptrdiff_t i)
 
MRC_API MR_Ball1dMR_Ball1d_OffsetMutablePtr (MR_Ball1d *ptr, ptrdiff_t i)
 
MRC_API MR_Ball1dMR_Ball1d_ConstructFromAnother (const MR_Ball1d *_other)
 
MRC_API void MR_Ball1d_Destroy (const MR_Ball1d *_this)
 Destroys a heap-allocated instance of MR_Ball1d. Does nothing if the pointer is null.
 
MRC_API void MR_Ball1d_DestroyArray (const MR_Ball1d *_this)
 Destroys a heap-allocated array of MR_Ball1d. Does nothing if the pointer is null.
 
MRC_API MR_Ball1dMR_Ball1d_AssignFromAnother (MR_Ball1d *_this, const MR_Ball1d *_other)
 
MRC_API bool MR_Ball1d_inside (const MR_Ball1d *_this, const double *pt)
 
MRC_API bool MR_Ball1d_outside (const MR_Ball1d *_this, const double *pt)
 
MRC_API const int * MR_Ball2f_Get_elements (void)
 
MRC_API const MR_Vector2fMR_Ball2f_Get_center (const MR_Ball2f *_this)
 
MRC_API void MR_Ball2f_Set_center (MR_Ball2f *_this, MR_Vector2f value)
 
MRC_API MR_Vector2fMR_Ball2f_GetMutable_center (MR_Ball2f *_this)
 
MRC_API const float * MR_Ball2f_Get_radiusSq (const MR_Ball2f *_this)
 
MRC_API void MR_Ball2f_Set_radiusSq (MR_Ball2f *_this, float value)
 
MRC_API float * MR_Ball2f_GetMutable_radiusSq (MR_Ball2f *_this)
 
MRC_API MR_Ball2fMR_Ball2f_DefaultConstruct (void)
 
MRC_API MR_Ball2fMR_Ball2f_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_Ball2fMR_Ball2f_ConstructFrom (MR_Vector2f center, float radiusSq)
 
MRC_API const MR_Ball2fMR_Ball2f_OffsetPtr (const MR_Ball2f *ptr, ptrdiff_t i)
 
MRC_API MR_Ball2fMR_Ball2f_OffsetMutablePtr (MR_Ball2f *ptr, ptrdiff_t i)
 
MRC_API MR_Ball2fMR_Ball2f_ConstructFromAnother (const MR_Ball2f *_other)
 
MRC_API void MR_Ball2f_Destroy (const MR_Ball2f *_this)
 Destroys a heap-allocated instance of MR_Ball2f. Does nothing if the pointer is null.
 
MRC_API void MR_Ball2f_DestroyArray (const MR_Ball2f *_this)
 Destroys a heap-allocated array of MR_Ball2f. Does nothing if the pointer is null.
 
MRC_API MR_Ball2fMR_Ball2f_AssignFromAnother (MR_Ball2f *_this, const MR_Ball2f *_other)
 
MRC_API bool MR_Ball2f_inside (const MR_Ball2f *_this, const MR_Vector2f *pt)
 
MRC_API bool MR_Ball2f_outside (const MR_Ball2f *_this, const MR_Vector2f *pt)
 
MRC_API const int * MR_Ball2d_Get_elements (void)
 
MRC_API const MR_Vector2dMR_Ball2d_Get_center (const MR_Ball2d *_this)
 
MRC_API void MR_Ball2d_Set_center (MR_Ball2d *_this, MR_Vector2d value)
 
MRC_API MR_Vector2dMR_Ball2d_GetMutable_center (MR_Ball2d *_this)
 
MRC_API const double * MR_Ball2d_Get_radiusSq (const MR_Ball2d *_this)
 
MRC_API void MR_Ball2d_Set_radiusSq (MR_Ball2d *_this, double value)
 
MRC_API double * MR_Ball2d_GetMutable_radiusSq (MR_Ball2d *_this)
 
MRC_API MR_Ball2dMR_Ball2d_DefaultConstruct (void)
 
MRC_API MR_Ball2dMR_Ball2d_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_Ball2dMR_Ball2d_ConstructFrom (MR_Vector2d center, double radiusSq)
 
MRC_API const MR_Ball2dMR_Ball2d_OffsetPtr (const MR_Ball2d *ptr, ptrdiff_t i)
 
MRC_API MR_Ball2dMR_Ball2d_OffsetMutablePtr (MR_Ball2d *ptr, ptrdiff_t i)
 
MRC_API MR_Ball2dMR_Ball2d_ConstructFromAnother (const MR_Ball2d *_other)
 
MRC_API void MR_Ball2d_Destroy (const MR_Ball2d *_this)
 Destroys a heap-allocated instance of MR_Ball2d. Does nothing if the pointer is null.
 
MRC_API void MR_Ball2d_DestroyArray (const MR_Ball2d *_this)
 Destroys a heap-allocated array of MR_Ball2d. Does nothing if the pointer is null.
 
MRC_API MR_Ball2dMR_Ball2d_AssignFromAnother (MR_Ball2d *_this, const MR_Ball2d *_other)
 
MRC_API bool MR_Ball2d_inside (const MR_Ball2d *_this, const MR_Vector2d *pt)
 
MRC_API bool MR_Ball2d_outside (const MR_Ball2d *_this, const MR_Vector2d *pt)
 
MRC_API const int * MR_Ball3f_Get_elements (void)
 
MRC_API const MR_Vector3fMR_Ball3f_Get_center (const MR_Ball3f *_this)
 
MRC_API void MR_Ball3f_Set_center (MR_Ball3f *_this, MR_Vector3f value)
 
MRC_API MR_Vector3fMR_Ball3f_GetMutable_center (MR_Ball3f *_this)
 
MRC_API const float * MR_Ball3f_Get_radiusSq (const MR_Ball3f *_this)
 
MRC_API void MR_Ball3f_Set_radiusSq (MR_Ball3f *_this, float value)
 
MRC_API float * MR_Ball3f_GetMutable_radiusSq (MR_Ball3f *_this)
 
MRC_API MR_Ball3fMR_Ball3f_DefaultConstruct (void)
 
MRC_API MR_Ball3fMR_Ball3f_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_Ball3fMR_Ball3f_ConstructFrom (MR_Vector3f center, float radiusSq)
 
MRC_API const MR_Ball3fMR_Ball3f_OffsetPtr (const MR_Ball3f *ptr, ptrdiff_t i)
 
MRC_API MR_Ball3fMR_Ball3f_OffsetMutablePtr (MR_Ball3f *ptr, ptrdiff_t i)
 
MRC_API MR_Ball3fMR_Ball3f_ConstructFromAnother (const MR_Ball3f *_other)
 
MRC_API void MR_Ball3f_Destroy (const MR_Ball3f *_this)
 Destroys a heap-allocated instance of MR_Ball3f. Does nothing if the pointer is null.
 
MRC_API void MR_Ball3f_DestroyArray (const MR_Ball3f *_this)
 Destroys a heap-allocated array of MR_Ball3f. Does nothing if the pointer is null.
 
MRC_API MR_Ball3fMR_Ball3f_AssignFromAnother (MR_Ball3f *_this, const MR_Ball3f *_other)
 
MRC_API bool MR_Ball3f_inside (const MR_Ball3f *_this, const MR_Vector3f *pt)
 
MRC_API bool MR_Ball3f_outside (const MR_Ball3f *_this, const MR_Vector3f *pt)
 
MRC_API const int * MR_Ball3d_Get_elements (void)
 
MRC_API const MR_Vector3dMR_Ball3d_Get_center (const MR_Ball3d *_this)
 
MRC_API void MR_Ball3d_Set_center (MR_Ball3d *_this, MR_Vector3d value)
 
MRC_API MR_Vector3dMR_Ball3d_GetMutable_center (MR_Ball3d *_this)
 
MRC_API const double * MR_Ball3d_Get_radiusSq (const MR_Ball3d *_this)
 
MRC_API void MR_Ball3d_Set_radiusSq (MR_Ball3d *_this, double value)
 
MRC_API double * MR_Ball3d_GetMutable_radiusSq (MR_Ball3d *_this)
 
MRC_API MR_Ball3dMR_Ball3d_DefaultConstruct (void)
 
MRC_API MR_Ball3dMR_Ball3d_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_Ball3dMR_Ball3d_ConstructFrom (MR_Vector3d center, double radiusSq)
 
MRC_API const MR_Ball3dMR_Ball3d_OffsetPtr (const MR_Ball3d *ptr, ptrdiff_t i)
 
MRC_API MR_Ball3dMR_Ball3d_OffsetMutablePtr (MR_Ball3d *ptr, ptrdiff_t i)
 
MRC_API MR_Ball3dMR_Ball3d_ConstructFromAnother (const MR_Ball3d *_other)
 
MRC_API void MR_Ball3d_Destroy (const MR_Ball3d *_this)
 Destroys a heap-allocated instance of MR_Ball3d. Does nothing if the pointer is null.
 
MRC_API void MR_Ball3d_DestroyArray (const MR_Ball3d *_this)
 Destroys a heap-allocated array of MR_Ball3d. Does nothing if the pointer is null.
 
MRC_API MR_Ball3dMR_Ball3d_AssignFromAnother (MR_Ball3d *_this, const MR_Ball3d *_other)
 
MRC_API bool MR_Ball3d_inside (const MR_Ball3d *_this, const MR_Vector3d *pt)
 
MRC_API bool MR_Ball3d_outside (const MR_Ball3d *_this, const MR_Vector3d *pt)
 

Typedef Documentation

◆ MR_Ball1d

typedef struct MR_Ball1d MR_Ball1d

a ball = points surrounded by a sphere in arbitrary space with vector type V Generated from class MR::Ball1d. 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_Ball1f

typedef struct MR_Ball1f MR_Ball1f

a ball = points surrounded by a sphere in arbitrary space with vector type V Generated from class MR::Ball1f. 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_Ball2d

typedef struct MR_Ball2d MR_Ball2d

a ball = points surrounded by a sphere in arbitrary space with vector type V Generated from class MR::Ball2d. 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_Ball2f

typedef struct MR_Ball2f MR_Ball2f

a ball = points surrounded by a sphere in arbitrary space with vector type V Generated from class MR::Ball2f. 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_Ball3d

typedef struct MR_Ball3d MR_Ball3d

a ball = points surrounded by a sphere in arbitrary space with vector type V Generated from class MR::Ball3d. 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_Ball3f

typedef struct MR_Ball3f MR_Ball3f

a ball = points surrounded by a sphere in arbitrary space with vector type V Generated from class MR::Ball3f. 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).

Function Documentation

◆ MR_Ball1d_AssignFromAnother()

MRC_API MR_Ball1d * MR_Ball1d_AssignFromAnother ( MR_Ball1d * _this,
const MR_Ball1d * _other )

Generated from method MR::Ball1d::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_Ball1d_ConstructFrom()

MRC_API MR_Ball1d * MR_Ball1d_ConstructFrom ( double center,
double radiusSq )

Constructs MR::Ball1d elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_Ball1d_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_Ball1d_ConstructFromAnother()

MRC_API MR_Ball1d * MR_Ball1d_ConstructFromAnother ( const MR_Ball1d * _other)

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

◆ MR_Ball1d_DefaultConstruct()

MRC_API MR_Ball1d * MR_Ball1d_DefaultConstruct ( void )

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

◆ MR_Ball1d_DefaultConstructArray()

MRC_API MR_Ball1d * MR_Ball1d_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_Ball1d_DestroyArray(). Use MR_Ball1d_OffsetMutablePtr() and MR_Ball1d_OffsetPtr() to access the array elements.

◆ MR_Ball1d_Destroy()

MRC_API void MR_Ball1d_Destroy ( const MR_Ball1d * _this)

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

◆ MR_Ball1d_DestroyArray()

MRC_API void MR_Ball1d_DestroyArray ( const MR_Ball1d * _this)

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

◆ MR_Ball1d_Get_center()

MRC_API const double * MR_Ball1d_Get_center ( const MR_Ball1d * _this)

ball's center Modifies a member variable of class MR::Ball1d named center. 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 center.

◆ MR_Ball1d_Get_elements()

MRC_API const int * MR_Ball1d_Get_elements ( void )

Returns a pointer to a member variable of class MR::Ball1d named elements. The returned pointer will never be null. It is non-owning, do NOT destroy it. ball's center Returns a pointer to a member variable of class MR::Ball1d named center. 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_Ball1d_Get_radiusSq()

MRC_API const double * MR_Ball1d_Get_radiusSq ( const MR_Ball1d * _this)

ball's squared radius Modifies a member variable of class MR::Ball1d named radiusSq. 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 radiusSq.

◆ MR_Ball1d_GetMutable_center()

MRC_API double * MR_Ball1d_GetMutable_center ( MR_Ball1d * _this)

ball's squared radius Returns a pointer to a member variable of class MR::Ball1d named radiusSq. 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_Ball1d_GetMutable_radiusSq()

MRC_API double * MR_Ball1d_GetMutable_radiusSq ( MR_Ball1d * _this)

◆ MR_Ball1d_inside()

MRC_API bool MR_Ball1d_inside ( const MR_Ball1d * _this,
const double * pt )

returns true if given point is strictly inside the ball (not on its spherical surface) Generated from method MR::Ball1d::inside. Parameter _this can not be null. It is a single object. Parameter pt can not be null. It is a single object.

◆ MR_Ball1d_OffsetMutablePtr()

MRC_API MR_Ball1d * MR_Ball1d_OffsetMutablePtr ( MR_Ball1d * 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_Ball1d_OffsetPtr()

MRC_API const MR_Ball1d * MR_Ball1d_OffsetPtr ( const MR_Ball1d * 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_Ball1d_outside()

MRC_API bool MR_Ball1d_outside ( const MR_Ball1d * _this,
const double * pt )

returns true if given point is strictly outside the ball (not on its spherical surface) Generated from method MR::Ball1d::outside. Parameter _this can not be null. It is a single object. Parameter pt can not be null. It is a single object.

◆ MR_Ball1d_Set_center()

MRC_API void MR_Ball1d_Set_center ( MR_Ball1d * _this,
double value )

ball's center Returns a mutable pointer to a member variable of class MR::Ball1d named center. 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_Ball1d_Set_radiusSq()

MRC_API void MR_Ball1d_Set_radiusSq ( MR_Ball1d * _this,
double value )

ball's squared radius Returns a mutable pointer to a member variable of class MR::Ball1d named radiusSq. 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_Ball1f_AssignFromAnother()

MRC_API MR_Ball1f * MR_Ball1f_AssignFromAnother ( MR_Ball1f * _this,
const MR_Ball1f * _other )

Generated from method MR::Ball1f::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_Ball1f_ConstructFrom()

MRC_API MR_Ball1f * MR_Ball1f_ConstructFrom ( float center,
float radiusSq )

Constructs MR::Ball1f elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_Ball1f_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_Ball1f_ConstructFromAnother()

MRC_API MR_Ball1f * MR_Ball1f_ConstructFromAnother ( const MR_Ball1f * _other)

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

◆ MR_Ball1f_DefaultConstruct()

MRC_API MR_Ball1f * MR_Ball1f_DefaultConstruct ( void )

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

◆ MR_Ball1f_DefaultConstructArray()

MRC_API MR_Ball1f * MR_Ball1f_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_Ball1f_DestroyArray(). Use MR_Ball1f_OffsetMutablePtr() and MR_Ball1f_OffsetPtr() to access the array elements.

◆ MR_Ball1f_Destroy()

MRC_API void MR_Ball1f_Destroy ( const MR_Ball1f * _this)

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

◆ MR_Ball1f_DestroyArray()

MRC_API void MR_Ball1f_DestroyArray ( const MR_Ball1f * _this)

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

◆ MR_Ball1f_Get_center()

MRC_API const float * MR_Ball1f_Get_center ( const MR_Ball1f * _this)

ball's center Modifies a member variable of class MR::Ball1f named center. 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 center.

◆ MR_Ball1f_Get_elements()

MRC_API const int * MR_Ball1f_Get_elements ( void )

Returns a pointer to a member variable of class MR::Ball1f named elements. The returned pointer will never be null. It is non-owning, do NOT destroy it. ball's center Returns a pointer to a member variable of class MR::Ball1f named center. 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_Ball1f_Get_radiusSq()

MRC_API const float * MR_Ball1f_Get_radiusSq ( const MR_Ball1f * _this)

ball's squared radius Modifies a member variable of class MR::Ball1f named radiusSq. 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 radiusSq.

◆ MR_Ball1f_GetMutable_center()

MRC_API float * MR_Ball1f_GetMutable_center ( MR_Ball1f * _this)

ball's squared radius Returns a pointer to a member variable of class MR::Ball1f named radiusSq. 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_Ball1f_GetMutable_radiusSq()

MRC_API float * MR_Ball1f_GetMutable_radiusSq ( MR_Ball1f * _this)

◆ MR_Ball1f_inside()

MRC_API bool MR_Ball1f_inside ( const MR_Ball1f * _this,
const float * pt )

returns true if given point is strictly inside the ball (not on its spherical surface) Generated from method MR::Ball1f::inside. Parameter _this can not be null. It is a single object. Parameter pt can not be null. It is a single object.

◆ MR_Ball1f_OffsetMutablePtr()

MRC_API MR_Ball1f * MR_Ball1f_OffsetMutablePtr ( MR_Ball1f * 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_Ball1f_OffsetPtr()

MRC_API const MR_Ball1f * MR_Ball1f_OffsetPtr ( const MR_Ball1f * 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_Ball1f_outside()

MRC_API bool MR_Ball1f_outside ( const MR_Ball1f * _this,
const float * pt )

returns true if given point is strictly outside the ball (not on its spherical surface) Generated from method MR::Ball1f::outside. Parameter _this can not be null. It is a single object. Parameter pt can not be null. It is a single object.

◆ MR_Ball1f_Set_center()

MRC_API void MR_Ball1f_Set_center ( MR_Ball1f * _this,
float value )

ball's center Returns a mutable pointer to a member variable of class MR::Ball1f named center. 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_Ball1f_Set_radiusSq()

MRC_API void MR_Ball1f_Set_radiusSq ( MR_Ball1f * _this,
float value )

ball's squared radius Returns a mutable pointer to a member variable of class MR::Ball1f named radiusSq. 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_Ball2d_AssignFromAnother()

MRC_API MR_Ball2d * MR_Ball2d_AssignFromAnother ( MR_Ball2d * _this,
const MR_Ball2d * _other )

Generated from method MR::Ball2d::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_Ball2d_ConstructFrom()

MRC_API MR_Ball2d * MR_Ball2d_ConstructFrom ( MR_Vector2d center,
double radiusSq )

Constructs MR::Ball2d elementwise. The reference to the parameter center might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Ball2d_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_Ball2d_ConstructFromAnother()

MRC_API MR_Ball2d * MR_Ball2d_ConstructFromAnother ( const MR_Ball2d * _other)

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

◆ MR_Ball2d_DefaultConstruct()

MRC_API MR_Ball2d * MR_Ball2d_DefaultConstruct ( void )

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

◆ MR_Ball2d_DefaultConstructArray()

MRC_API MR_Ball2d * MR_Ball2d_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_Ball2d_DestroyArray(). Use MR_Ball2d_OffsetMutablePtr() and MR_Ball2d_OffsetPtr() to access the array elements.

◆ MR_Ball2d_Destroy()

MRC_API void MR_Ball2d_Destroy ( const MR_Ball2d * _this)

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

◆ MR_Ball2d_DestroyArray()

MRC_API void MR_Ball2d_DestroyArray ( const MR_Ball2d * _this)

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

◆ MR_Ball2d_Get_center()

MRC_API const MR_Vector2d * MR_Ball2d_Get_center ( const MR_Ball2d * _this)

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

◆ MR_Ball2d_Get_elements()

MRC_API const int * MR_Ball2d_Get_elements ( void )

Returns a pointer to a member variable of class MR::Ball2d named elements. The returned pointer will never be null. It is non-owning, do NOT destroy it. ball's center Returns a pointer to a member variable of class MR::Ball2d named center. 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_Ball2d_Get_radiusSq()

MRC_API const double * MR_Ball2d_Get_radiusSq ( const MR_Ball2d * _this)

ball's squared radius Modifies a member variable of class MR::Ball2d named radiusSq. 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 radiusSq.

◆ MR_Ball2d_GetMutable_center()

MRC_API MR_Vector2d * MR_Ball2d_GetMutable_center ( MR_Ball2d * _this)

ball's squared radius Returns a pointer to a member variable of class MR::Ball2d named radiusSq. 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_Ball2d_GetMutable_radiusSq()

MRC_API double * MR_Ball2d_GetMutable_radiusSq ( MR_Ball2d * _this)

◆ MR_Ball2d_inside()

MRC_API bool MR_Ball2d_inside ( const MR_Ball2d * _this,
const MR_Vector2d * pt )

returns true if given point is strictly inside the ball (not on its spherical surface) Generated from method MR::Ball2d::inside. Parameter _this can not be null. It is a single object. Parameter pt can not be null. It is a single object.

◆ MR_Ball2d_OffsetMutablePtr()

MRC_API MR_Ball2d * MR_Ball2d_OffsetMutablePtr ( MR_Ball2d * 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_Ball2d_OffsetPtr()

MRC_API const MR_Ball2d * MR_Ball2d_OffsetPtr ( const MR_Ball2d * 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_Ball2d_outside()

MRC_API bool MR_Ball2d_outside ( const MR_Ball2d * _this,
const MR_Vector2d * pt )

returns true if given point is strictly outside the ball (not on its spherical surface) Generated from method MR::Ball2d::outside. Parameter _this can not be null. It is a single object. Parameter pt can not be null. It is a single object.

◆ MR_Ball2d_Set_center()

MRC_API void MR_Ball2d_Set_center ( MR_Ball2d * _this,
MR_Vector2d value )

ball's center Returns a mutable pointer to a member variable of class MR::Ball2d named center. 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_Ball2d_Set_radiusSq()

MRC_API void MR_Ball2d_Set_radiusSq ( MR_Ball2d * _this,
double value )

ball's squared radius Returns a mutable pointer to a member variable of class MR::Ball2d named radiusSq. 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_Ball2f_AssignFromAnother()

MRC_API MR_Ball2f * MR_Ball2f_AssignFromAnother ( MR_Ball2f * _this,
const MR_Ball2f * _other )

Generated from method MR::Ball2f::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_Ball2f_ConstructFrom()

MRC_API MR_Ball2f * MR_Ball2f_ConstructFrom ( MR_Vector2f center,
float radiusSq )

Constructs MR::Ball2f elementwise. The reference to the parameter center might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Ball2f_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_Ball2f_ConstructFromAnother()

MRC_API MR_Ball2f * MR_Ball2f_ConstructFromAnother ( const MR_Ball2f * _other)

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

◆ MR_Ball2f_DefaultConstruct()

MRC_API MR_Ball2f * MR_Ball2f_DefaultConstruct ( void )

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

◆ MR_Ball2f_DefaultConstructArray()

MRC_API MR_Ball2f * MR_Ball2f_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_Ball2f_DestroyArray(). Use MR_Ball2f_OffsetMutablePtr() and MR_Ball2f_OffsetPtr() to access the array elements.

◆ MR_Ball2f_Destroy()

MRC_API void MR_Ball2f_Destroy ( const MR_Ball2f * _this)

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

◆ MR_Ball2f_DestroyArray()

MRC_API void MR_Ball2f_DestroyArray ( const MR_Ball2f * _this)

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

◆ MR_Ball2f_Get_center()

MRC_API const MR_Vector2f * MR_Ball2f_Get_center ( const MR_Ball2f * _this)

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

◆ MR_Ball2f_Get_elements()

MRC_API const int * MR_Ball2f_Get_elements ( void )

Returns a pointer to a member variable of class MR::Ball2f named elements. The returned pointer will never be null. It is non-owning, do NOT destroy it. ball's center Returns a pointer to a member variable of class MR::Ball2f named center. 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_Ball2f_Get_radiusSq()

MRC_API const float * MR_Ball2f_Get_radiusSq ( const MR_Ball2f * _this)

ball's squared radius Modifies a member variable of class MR::Ball2f named radiusSq. 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 radiusSq.

◆ MR_Ball2f_GetMutable_center()

MRC_API MR_Vector2f * MR_Ball2f_GetMutable_center ( MR_Ball2f * _this)

ball's squared radius Returns a pointer to a member variable of class MR::Ball2f named radiusSq. 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_Ball2f_GetMutable_radiusSq()

MRC_API float * MR_Ball2f_GetMutable_radiusSq ( MR_Ball2f * _this)

◆ MR_Ball2f_inside()

MRC_API bool MR_Ball2f_inside ( const MR_Ball2f * _this,
const MR_Vector2f * pt )

returns true if given point is strictly inside the ball (not on its spherical surface) Generated from method MR::Ball2f::inside. Parameter _this can not be null. It is a single object. Parameter pt can not be null. It is a single object.

◆ MR_Ball2f_OffsetMutablePtr()

MRC_API MR_Ball2f * MR_Ball2f_OffsetMutablePtr ( MR_Ball2f * 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_Ball2f_OffsetPtr()

MRC_API const MR_Ball2f * MR_Ball2f_OffsetPtr ( const MR_Ball2f * 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_Ball2f_outside()

MRC_API bool MR_Ball2f_outside ( const MR_Ball2f * _this,
const MR_Vector2f * pt )

returns true if given point is strictly outside the ball (not on its spherical surface) Generated from method MR::Ball2f::outside. Parameter _this can not be null. It is a single object. Parameter pt can not be null. It is a single object.

◆ MR_Ball2f_Set_center()

MRC_API void MR_Ball2f_Set_center ( MR_Ball2f * _this,
MR_Vector2f value )

ball's center Returns a mutable pointer to a member variable of class MR::Ball2f named center. 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_Ball2f_Set_radiusSq()

MRC_API void MR_Ball2f_Set_radiusSq ( MR_Ball2f * _this,
float value )

ball's squared radius Returns a mutable pointer to a member variable of class MR::Ball2f named radiusSq. 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_Ball3d_AssignFromAnother()

MRC_API MR_Ball3d * MR_Ball3d_AssignFromAnother ( MR_Ball3d * _this,
const MR_Ball3d * _other )

Generated from method MR::Ball3d::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_Ball3d_ConstructFrom()

MRC_API MR_Ball3d * MR_Ball3d_ConstructFrom ( MR_Vector3d center,
double radiusSq )

Constructs MR::Ball3d elementwise. The reference to the parameter center might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Ball3d_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_Ball3d_ConstructFromAnother()

MRC_API MR_Ball3d * MR_Ball3d_ConstructFromAnother ( const MR_Ball3d * _other)

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

◆ MR_Ball3d_DefaultConstruct()

MRC_API MR_Ball3d * MR_Ball3d_DefaultConstruct ( void )

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

◆ MR_Ball3d_DefaultConstructArray()

MRC_API MR_Ball3d * MR_Ball3d_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_Ball3d_DestroyArray(). Use MR_Ball3d_OffsetMutablePtr() and MR_Ball3d_OffsetPtr() to access the array elements.

◆ MR_Ball3d_Destroy()

MRC_API void MR_Ball3d_Destroy ( const MR_Ball3d * _this)

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

◆ MR_Ball3d_DestroyArray()

MRC_API void MR_Ball3d_DestroyArray ( const MR_Ball3d * _this)

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

◆ MR_Ball3d_Get_center()

MRC_API const MR_Vector3d * MR_Ball3d_Get_center ( const MR_Ball3d * _this)

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

◆ MR_Ball3d_Get_elements()

MRC_API const int * MR_Ball3d_Get_elements ( void )

Returns a pointer to a member variable of class MR::Ball3d named elements. The returned pointer will never be null. It is non-owning, do NOT destroy it. ball's center Returns a pointer to a member variable of class MR::Ball3d named center. 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_Ball3d_Get_radiusSq()

MRC_API const double * MR_Ball3d_Get_radiusSq ( const MR_Ball3d * _this)

ball's squared radius Modifies a member variable of class MR::Ball3d named radiusSq. 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 radiusSq.

◆ MR_Ball3d_GetMutable_center()

MRC_API MR_Vector3d * MR_Ball3d_GetMutable_center ( MR_Ball3d * _this)

ball's squared radius Returns a pointer to a member variable of class MR::Ball3d named radiusSq. 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_Ball3d_GetMutable_radiusSq()

MRC_API double * MR_Ball3d_GetMutable_radiusSq ( MR_Ball3d * _this)

◆ MR_Ball3d_inside()

MRC_API bool MR_Ball3d_inside ( const MR_Ball3d * _this,
const MR_Vector3d * pt )

returns true if given point is strictly inside the ball (not on its spherical surface) Generated from method MR::Ball3d::inside. Parameter _this can not be null. It is a single object. Parameter pt can not be null. It is a single object.

◆ MR_Ball3d_OffsetMutablePtr()

MRC_API MR_Ball3d * MR_Ball3d_OffsetMutablePtr ( MR_Ball3d * 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_Ball3d_OffsetPtr()

MRC_API const MR_Ball3d * MR_Ball3d_OffsetPtr ( const MR_Ball3d * 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_Ball3d_outside()

MRC_API bool MR_Ball3d_outside ( const MR_Ball3d * _this,
const MR_Vector3d * pt )

returns true if given point is strictly outside the ball (not on its spherical surface) Generated from method MR::Ball3d::outside. Parameter _this can not be null. It is a single object. Parameter pt can not be null. It is a single object.

◆ MR_Ball3d_Set_center()

MRC_API void MR_Ball3d_Set_center ( MR_Ball3d * _this,
MR_Vector3d value )

ball's center Returns a mutable pointer to a member variable of class MR::Ball3d named center. 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_Ball3d_Set_radiusSq()

MRC_API void MR_Ball3d_Set_radiusSq ( MR_Ball3d * _this,
double value )

ball's squared radius Returns a mutable pointer to a member variable of class MR::Ball3d named radiusSq. 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_Ball3f_AssignFromAnother()

MRC_API MR_Ball3f * MR_Ball3f_AssignFromAnother ( MR_Ball3f * _this,
const MR_Ball3f * _other )

Generated from method MR::Ball3f::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_Ball3f_ConstructFrom()

MRC_API MR_Ball3f * MR_Ball3f_ConstructFrom ( MR_Vector3f center,
float radiusSq )

Constructs MR::Ball3f elementwise. The reference to the parameter center might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_Ball3f_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_Ball3f_ConstructFromAnother()

MRC_API MR_Ball3f * MR_Ball3f_ConstructFromAnother ( const MR_Ball3f * _other)

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

◆ MR_Ball3f_DefaultConstruct()

MRC_API MR_Ball3f * MR_Ball3f_DefaultConstruct ( void )

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

◆ MR_Ball3f_DefaultConstructArray()

MRC_API MR_Ball3f * MR_Ball3f_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_Ball3f_DestroyArray(). Use MR_Ball3f_OffsetMutablePtr() and MR_Ball3f_OffsetPtr() to access the array elements.

◆ MR_Ball3f_Destroy()

MRC_API void MR_Ball3f_Destroy ( const MR_Ball3f * _this)

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

◆ MR_Ball3f_DestroyArray()

MRC_API void MR_Ball3f_DestroyArray ( const MR_Ball3f * _this)

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

◆ MR_Ball3f_Get_center()

MRC_API const MR_Vector3f * MR_Ball3f_Get_center ( const MR_Ball3f * _this)

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

◆ MR_Ball3f_Get_elements()

MRC_API const int * MR_Ball3f_Get_elements ( void )

Returns a pointer to a member variable of class MR::Ball3f named elements. The returned pointer will never be null. It is non-owning, do NOT destroy it. ball's center Returns a pointer to a member variable of class MR::Ball3f named center. 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_Ball3f_Get_radiusSq()

MRC_API const float * MR_Ball3f_Get_radiusSq ( const MR_Ball3f * _this)

ball's squared radius Modifies a member variable of class MR::Ball3f named radiusSq. 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 radiusSq.

◆ MR_Ball3f_GetMutable_center()

MRC_API MR_Vector3f * MR_Ball3f_GetMutable_center ( MR_Ball3f * _this)

ball's squared radius Returns a pointer to a member variable of class MR::Ball3f named radiusSq. 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_Ball3f_GetMutable_radiusSq()

MRC_API float * MR_Ball3f_GetMutable_radiusSq ( MR_Ball3f * _this)

◆ MR_Ball3f_inside()

MRC_API bool MR_Ball3f_inside ( const MR_Ball3f * _this,
const MR_Vector3f * pt )

returns true if given point is strictly inside the ball (not on its spherical surface) Generated from method MR::Ball3f::inside. Parameter _this can not be null. It is a single object. Parameter pt can not be null. It is a single object.

◆ MR_Ball3f_OffsetMutablePtr()

MRC_API MR_Ball3f * MR_Ball3f_OffsetMutablePtr ( MR_Ball3f * 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_Ball3f_OffsetPtr()

MRC_API const MR_Ball3f * MR_Ball3f_OffsetPtr ( const MR_Ball3f * 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_Ball3f_outside()

MRC_API bool MR_Ball3f_outside ( const MR_Ball3f * _this,
const MR_Vector3f * pt )

returns true if given point is strictly outside the ball (not on its spherical surface) Generated from method MR::Ball3f::outside. Parameter _this can not be null. It is a single object. Parameter pt can not be null. It is a single object.

◆ MR_Ball3f_Set_center()

MRC_API void MR_Ball3f_Set_center ( MR_Ball3f * _this,
MR_Vector3f value )

ball's center Returns a mutable pointer to a member variable of class MR::Ball3f named center. 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_Ball3f_Set_radiusSq()

MRC_API void MR_Ball3f_Set_radiusSq ( MR_Ball3f * _this,
float value )

ball's squared radius Returns a mutable pointer to a member variable of class MR::Ball3f named radiusSq. 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.