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

Go to the source code of this file.

Typedefs

typedef struct MR_LineSegm2f MR_LineSegm2f
 Generated from class MR::LineSegm2f.
 
typedef struct MR_LineSegm2d MR_LineSegm2d
 Generated from class MR::LineSegm2d.
 
typedef struct MR_LineSegm3f MR_LineSegm3f
 Generated from class MR::LineSegm3f.
 
typedef struct MR_LineSegm3d MR_LineSegm3d
 Generated from class MR::LineSegm3d.
 

Functions

MRC_API const MR_Vector2fMR_LineSegm2f_Get_a (const MR_LineSegm2f *_this)
 
MRC_API void MR_LineSegm2f_Set_a (MR_LineSegm2f *_this, MR_Vector2f value)
 
MRC_API MR_Vector2fMR_LineSegm2f_GetMutable_a (MR_LineSegm2f *_this)
 
MRC_API const MR_Vector2fMR_LineSegm2f_Get_b (const MR_LineSegm2f *_this)
 
MRC_API void MR_LineSegm2f_Set_b (MR_LineSegm2f *_this, MR_Vector2f value)
 
MRC_API MR_Vector2fMR_LineSegm2f_GetMutable_b (MR_LineSegm2f *_this)
 
MRC_API MR_LineSegm2fMR_LineSegm2f_DefaultConstruct (void)
 
MRC_API MR_LineSegm2fMR_LineSegm2f_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_LineSegm2fMR_LineSegm2f_OffsetPtr (const MR_LineSegm2f *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_LineSegm2fMR_LineSegm2f_OffsetMutablePtr (MR_LineSegm2f *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_LineSegm2fMR_LineSegm2f_ConstructFromAnother (const MR_LineSegm2f *_other)
 
MRC_API MR_LineSegm2fMR_LineSegm2f_Construct (const MR_Vector2f *a, const MR_Vector2f *b)
 
MRC_API void MR_LineSegm2f_Destroy (const MR_LineSegm2f *_this)
 Destroys a heap-allocated instance of MR_LineSegm2f. Does nothing if the pointer is null.
 
MRC_API void MR_LineSegm2f_DestroyArray (const MR_LineSegm2f *_this)
 Destroys a heap-allocated array of MR_LineSegm2f. Does nothing if the pointer is null.
 
MRC_API MR_LineSegm2fMR_LineSegm2f_AssignFromAnother (MR_LineSegm2f *_this, const MR_LineSegm2f *_other)
 
MRC_API MR_Vector2f MR_LineSegm2f_dir (const MR_LineSegm2f *_this)
 
MRC_API float MR_LineSegm2f_lengthSq (const MR_LineSegm2f *_this)
 
MRC_API float MR_LineSegm2f_length (const MR_LineSegm2f *_this)
 
MRC_API MR_Vector2f MR_LineSegm2f_call (const MR_LineSegm2f *_this, float param)
 
MRC_API const MR_Vector2dMR_LineSegm2d_Get_a (const MR_LineSegm2d *_this)
 
MRC_API void MR_LineSegm2d_Set_a (MR_LineSegm2d *_this, MR_Vector2d value)
 
MRC_API MR_Vector2dMR_LineSegm2d_GetMutable_a (MR_LineSegm2d *_this)
 
MRC_API const MR_Vector2dMR_LineSegm2d_Get_b (const MR_LineSegm2d *_this)
 
MRC_API void MR_LineSegm2d_Set_b (MR_LineSegm2d *_this, MR_Vector2d value)
 
MRC_API MR_Vector2dMR_LineSegm2d_GetMutable_b (MR_LineSegm2d *_this)
 
MRC_API MR_LineSegm2dMR_LineSegm2d_DefaultConstruct (void)
 
MRC_API MR_LineSegm2dMR_LineSegm2d_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_LineSegm2dMR_LineSegm2d_OffsetPtr (const MR_LineSegm2d *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_LineSegm2dMR_LineSegm2d_OffsetMutablePtr (MR_LineSegm2d *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_LineSegm2dMR_LineSegm2d_ConstructFromAnother (const MR_LineSegm2d *_other)
 
MRC_API MR_LineSegm2dMR_LineSegm2d_Construct (const MR_Vector2d *a, const MR_Vector2d *b)
 
MRC_API void MR_LineSegm2d_Destroy (const MR_LineSegm2d *_this)
 Destroys a heap-allocated instance of MR_LineSegm2d. Does nothing if the pointer is null.
 
MRC_API void MR_LineSegm2d_DestroyArray (const MR_LineSegm2d *_this)
 Destroys a heap-allocated array of MR_LineSegm2d. Does nothing if the pointer is null.
 
MRC_API MR_LineSegm2dMR_LineSegm2d_AssignFromAnother (MR_LineSegm2d *_this, const MR_LineSegm2d *_other)
 
MRC_API MR_Vector2d MR_LineSegm2d_dir (const MR_LineSegm2d *_this)
 
MRC_API double MR_LineSegm2d_lengthSq (const MR_LineSegm2d *_this)
 
MRC_API double MR_LineSegm2d_length (const MR_LineSegm2d *_this)
 
MRC_API MR_Vector2d MR_LineSegm2d_call (const MR_LineSegm2d *_this, double param)
 
MRC_API const MR_Vector3fMR_LineSegm3f_Get_a (const MR_LineSegm3f *_this)
 
MRC_API void MR_LineSegm3f_Set_a (MR_LineSegm3f *_this, MR_Vector3f value)
 
MRC_API MR_Vector3fMR_LineSegm3f_GetMutable_a (MR_LineSegm3f *_this)
 
MRC_API const MR_Vector3fMR_LineSegm3f_Get_b (const MR_LineSegm3f *_this)
 
MRC_API void MR_LineSegm3f_Set_b (MR_LineSegm3f *_this, MR_Vector3f value)
 
MRC_API MR_Vector3fMR_LineSegm3f_GetMutable_b (MR_LineSegm3f *_this)
 
MRC_API MR_LineSegm3fMR_LineSegm3f_DefaultConstruct (void)
 
MRC_API MR_LineSegm3fMR_LineSegm3f_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_LineSegm3fMR_LineSegm3f_OffsetPtr (const MR_LineSegm3f *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_LineSegm3fMR_LineSegm3f_OffsetMutablePtr (MR_LineSegm3f *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_LineSegm3fMR_LineSegm3f_ConstructFromAnother (const MR_LineSegm3f *_other)
 
MRC_API MR_LineSegm3fMR_LineSegm3f_Construct (const MR_Vector3f *a, const MR_Vector3f *b)
 
MRC_API void MR_LineSegm3f_Destroy (const MR_LineSegm3f *_this)
 Destroys a heap-allocated instance of MR_LineSegm3f. Does nothing if the pointer is null.
 
MRC_API void MR_LineSegm3f_DestroyArray (const MR_LineSegm3f *_this)
 Destroys a heap-allocated array of MR_LineSegm3f. Does nothing if the pointer is null.
 
MRC_API MR_LineSegm3fMR_LineSegm3f_AssignFromAnother (MR_LineSegm3f *_this, const MR_LineSegm3f *_other)
 
MRC_API MR_Vector3f MR_LineSegm3f_dir (const MR_LineSegm3f *_this)
 
MRC_API float MR_LineSegm3f_lengthSq (const MR_LineSegm3f *_this)
 
MRC_API float MR_LineSegm3f_length (const MR_LineSegm3f *_this)
 
MRC_API MR_Vector3f MR_LineSegm3f_call (const MR_LineSegm3f *_this, float param)
 
MRC_API const MR_Vector3dMR_LineSegm3d_Get_a (const MR_LineSegm3d *_this)
 
MRC_API void MR_LineSegm3d_Set_a (MR_LineSegm3d *_this, MR_Vector3d value)
 
MRC_API MR_Vector3dMR_LineSegm3d_GetMutable_a (MR_LineSegm3d *_this)
 
MRC_API const MR_Vector3dMR_LineSegm3d_Get_b (const MR_LineSegm3d *_this)
 
MRC_API void MR_LineSegm3d_Set_b (MR_LineSegm3d *_this, MR_Vector3d value)
 
MRC_API MR_Vector3dMR_LineSegm3d_GetMutable_b (MR_LineSegm3d *_this)
 
MRC_API MR_LineSegm3dMR_LineSegm3d_DefaultConstruct (void)
 
MRC_API MR_LineSegm3dMR_LineSegm3d_DefaultConstructArray (size_t num_elems)
 
MRC_API const MR_LineSegm3dMR_LineSegm3d_OffsetPtr (const MR_LineSegm3d *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_LineSegm3dMR_LineSegm3d_OffsetMutablePtr (MR_LineSegm3d *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_LineSegm3dMR_LineSegm3d_ConstructFromAnother (const MR_LineSegm3d *_other)
 
MRC_API MR_LineSegm3dMR_LineSegm3d_Construct (const MR_Vector3d *a, const MR_Vector3d *b)
 
MRC_API void MR_LineSegm3d_Destroy (const MR_LineSegm3d *_this)
 Destroys a heap-allocated instance of MR_LineSegm3d. Does nothing if the pointer is null.
 
MRC_API void MR_LineSegm3d_DestroyArray (const MR_LineSegm3d *_this)
 Destroys a heap-allocated array of MR_LineSegm3d. Does nothing if the pointer is null.
 
MRC_API MR_LineSegm3dMR_LineSegm3d_AssignFromAnother (MR_LineSegm3d *_this, const MR_LineSegm3d *_other)
 
MRC_API MR_Vector3d MR_LineSegm3d_dir (const MR_LineSegm3d *_this)
 
MRC_API double MR_LineSegm3d_lengthSq (const MR_LineSegm3d *_this)
 
MRC_API double MR_LineSegm3d_length (const MR_LineSegm3d *_this)
 
MRC_API MR_Vector3d MR_LineSegm3d_call (const MR_LineSegm3d *_this, double param)
 

Typedef Documentation

◆ MR_LineSegm2d

typedef struct MR_LineSegm2d MR_LineSegm2d

Generated from class MR::LineSegm2d.

◆ MR_LineSegm2f

typedef struct MR_LineSegm2f MR_LineSegm2f

Generated from class MR::LineSegm2f.

◆ MR_LineSegm3d

typedef struct MR_LineSegm3d MR_LineSegm3d

Generated from class MR::LineSegm3d.

◆ MR_LineSegm3f

typedef struct MR_LineSegm3f MR_LineSegm3f

Generated from class MR::LineSegm3f.

Function Documentation

◆ MR_LineSegm2d_AssignFromAnother()

MRC_API MR_LineSegm2d * MR_LineSegm2d_AssignFromAnother ( MR_LineSegm2d * _this,
const MR_LineSegm2d * _other )

Generated from a method of class MR::LineSegm2d 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_LineSegm2d_call()

MRC_API MR_Vector2d MR_LineSegm2d_call ( const MR_LineSegm2d * _this,
double param )

returns point on the line, where param=0 returns a and param=1 returns b Generated from a method of class MR::LineSegm2d named operator(). Parameter _this can not be null. It is a single object.

◆ MR_LineSegm2d_Construct()

MRC_API MR_LineSegm2d * MR_LineSegm2d_Construct ( const MR_Vector2d * a,
const MR_Vector2d * b )

Generated from a constructor of class MR::LineSegm2d. Parameter a can not be null. It is a single object. Parameter b can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_LineSegm2d_Destroy() to free it when you're done using it.

◆ MR_LineSegm2d_ConstructFromAnother()

MRC_API MR_LineSegm2d * MR_LineSegm2d_ConstructFromAnother ( const MR_LineSegm2d * _other)

Generated from a constructor of class MR::LineSegm2d. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_LineSegm2d_Destroy() to free it when you're done using it.

◆ MR_LineSegm2d_DefaultConstruct()

MRC_API MR_LineSegm2d * MR_LineSegm2d_DefaultConstruct ( void )

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

◆ MR_LineSegm2d_DefaultConstructArray()

MRC_API MR_LineSegm2d * MR_LineSegm2d_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_LineSegm2d_DestroyArray(). Use MR_LineSegm2d_OffsetMutablePtr() and MR_LineSegm2d_OffsetPtr() to access the array elements.

◆ MR_LineSegm2d_Destroy()

MRC_API void MR_LineSegm2d_Destroy ( const MR_LineSegm2d * _this)

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

◆ MR_LineSegm2d_DestroyArray()

MRC_API void MR_LineSegm2d_DestroyArray ( const MR_LineSegm2d * _this)

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

◆ MR_LineSegm2d_dir()

MRC_API MR_Vector2d MR_LineSegm2d_dir ( const MR_LineSegm2d * _this)

returns directional vector of the line Generated from a method of class MR::LineSegm2d named dir. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm2d_Get_a()

MRC_API const MR_Vector2d * MR_LineSegm2d_Get_a ( const MR_LineSegm2d * _this)

Returns a pointer to a member variable of class MR::LineSegm2d named a. 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_LineSegm2d_Get_b()

MRC_API const MR_Vector2d * MR_LineSegm2d_Get_b ( const MR_LineSegm2d * _this)

Returns a pointer to a member variable of class MR::LineSegm2d named b. 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_LineSegm2d_GetMutable_a()

MRC_API MR_Vector2d * MR_LineSegm2d_GetMutable_a ( MR_LineSegm2d * _this)

Returns a mutable pointer to a member variable of class MR::LineSegm2d named a. 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_LineSegm2d_GetMutable_b()

MRC_API MR_Vector2d * MR_LineSegm2d_GetMutable_b ( MR_LineSegm2d * _this)

Returns a mutable pointer to a member variable of class MR::LineSegm2d named b. 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_LineSegm2d_length()

MRC_API double MR_LineSegm2d_length ( const MR_LineSegm2d * _this)

returns the length of this line segment Generated from a method of class MR::LineSegm2d named length. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm2d_lengthSq()

MRC_API double MR_LineSegm2d_lengthSq ( const MR_LineSegm2d * _this)

returns squared length of this line segment Generated from a method of class MR::LineSegm2d named lengthSq. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm2d_OffsetMutablePtr()

MRC_API MR_LineSegm2d * MR_LineSegm2d_OffsetMutablePtr ( MR_LineSegm2d * 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_LineSegm2d_OffsetPtr()

MRC_API const MR_LineSegm2d * MR_LineSegm2d_OffsetPtr ( const MR_LineSegm2d * 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_LineSegm2d_Set_a()

MRC_API void MR_LineSegm2d_Set_a ( MR_LineSegm2d * _this,
MR_Vector2d value )

Modifies a member variable of class MR::LineSegm2d named a. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm2d_Set_b()

MRC_API void MR_LineSegm2d_Set_b ( MR_LineSegm2d * _this,
MR_Vector2d value )

Modifies a member variable of class MR::LineSegm2d named b. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm2f_AssignFromAnother()

MRC_API MR_LineSegm2f * MR_LineSegm2f_AssignFromAnother ( MR_LineSegm2f * _this,
const MR_LineSegm2f * _other )

Generated from a method of class MR::LineSegm2f 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_LineSegm2f_call()

MRC_API MR_Vector2f MR_LineSegm2f_call ( const MR_LineSegm2f * _this,
float param )

returns point on the line, where param=0 returns a and param=1 returns b Generated from a method of class MR::LineSegm2f named operator(). Parameter _this can not be null. It is a single object.

◆ MR_LineSegm2f_Construct()

MRC_API MR_LineSegm2f * MR_LineSegm2f_Construct ( const MR_Vector2f * a,
const MR_Vector2f * b )

Generated from a constructor of class MR::LineSegm2f. Parameter a can not be null. It is a single object. Parameter b can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_LineSegm2f_Destroy() to free it when you're done using it.

◆ MR_LineSegm2f_ConstructFromAnother()

MRC_API MR_LineSegm2f * MR_LineSegm2f_ConstructFromAnother ( const MR_LineSegm2f * _other)

Generated from a constructor of class MR::LineSegm2f. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_LineSegm2f_Destroy() to free it when you're done using it.

◆ MR_LineSegm2f_DefaultConstruct()

MRC_API MR_LineSegm2f * MR_LineSegm2f_DefaultConstruct ( void )

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

◆ MR_LineSegm2f_DefaultConstructArray()

MRC_API MR_LineSegm2f * MR_LineSegm2f_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_LineSegm2f_DestroyArray(). Use MR_LineSegm2f_OffsetMutablePtr() and MR_LineSegm2f_OffsetPtr() to access the array elements.

◆ MR_LineSegm2f_Destroy()

MRC_API void MR_LineSegm2f_Destroy ( const MR_LineSegm2f * _this)

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

◆ MR_LineSegm2f_DestroyArray()

MRC_API void MR_LineSegm2f_DestroyArray ( const MR_LineSegm2f * _this)

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

◆ MR_LineSegm2f_dir()

MRC_API MR_Vector2f MR_LineSegm2f_dir ( const MR_LineSegm2f * _this)

returns directional vector of the line Generated from a method of class MR::LineSegm2f named dir. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm2f_Get_a()

MRC_API const MR_Vector2f * MR_LineSegm2f_Get_a ( const MR_LineSegm2f * _this)

Returns a pointer to a member variable of class MR::LineSegm2f named a. 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_LineSegm2f_Get_b()

MRC_API const MR_Vector2f * MR_LineSegm2f_Get_b ( const MR_LineSegm2f * _this)

Returns a pointer to a member variable of class MR::LineSegm2f named b. 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_LineSegm2f_GetMutable_a()

MRC_API MR_Vector2f * MR_LineSegm2f_GetMutable_a ( MR_LineSegm2f * _this)

Returns a mutable pointer to a member variable of class MR::LineSegm2f named a. 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_LineSegm2f_GetMutable_b()

MRC_API MR_Vector2f * MR_LineSegm2f_GetMutable_b ( MR_LineSegm2f * _this)

Returns a mutable pointer to a member variable of class MR::LineSegm2f named b. 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_LineSegm2f_length()

MRC_API float MR_LineSegm2f_length ( const MR_LineSegm2f * _this)

returns the length of this line segment Generated from a method of class MR::LineSegm2f named length. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm2f_lengthSq()

MRC_API float MR_LineSegm2f_lengthSq ( const MR_LineSegm2f * _this)

returns squared length of this line segment Generated from a method of class MR::LineSegm2f named lengthSq. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm2f_OffsetMutablePtr()

MRC_API MR_LineSegm2f * MR_LineSegm2f_OffsetMutablePtr ( MR_LineSegm2f * 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_LineSegm2f_OffsetPtr()

MRC_API const MR_LineSegm2f * MR_LineSegm2f_OffsetPtr ( const MR_LineSegm2f * 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_LineSegm2f_Set_a()

MRC_API void MR_LineSegm2f_Set_a ( MR_LineSegm2f * _this,
MR_Vector2f value )

Modifies a member variable of class MR::LineSegm2f named a. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm2f_Set_b()

MRC_API void MR_LineSegm2f_Set_b ( MR_LineSegm2f * _this,
MR_Vector2f value )

Modifies a member variable of class MR::LineSegm2f named b. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm3d_AssignFromAnother()

MRC_API MR_LineSegm3d * MR_LineSegm3d_AssignFromAnother ( MR_LineSegm3d * _this,
const MR_LineSegm3d * _other )

Generated from a method of class MR::LineSegm3d 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_LineSegm3d_call()

MRC_API MR_Vector3d MR_LineSegm3d_call ( const MR_LineSegm3d * _this,
double param )

returns point on the line, where param=0 returns a and param=1 returns b Generated from a method of class MR::LineSegm3d named operator(). Parameter _this can not be null. It is a single object.

◆ MR_LineSegm3d_Construct()

MRC_API MR_LineSegm3d * MR_LineSegm3d_Construct ( const MR_Vector3d * a,
const MR_Vector3d * b )

Generated from a constructor of class MR::LineSegm3d. Parameter a can not be null. It is a single object. Parameter b can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_LineSegm3d_Destroy() to free it when you're done using it.

◆ MR_LineSegm3d_ConstructFromAnother()

MRC_API MR_LineSegm3d * MR_LineSegm3d_ConstructFromAnother ( const MR_LineSegm3d * _other)

Generated from a constructor of class MR::LineSegm3d. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_LineSegm3d_Destroy() to free it when you're done using it.

◆ MR_LineSegm3d_DefaultConstruct()

MRC_API MR_LineSegm3d * MR_LineSegm3d_DefaultConstruct ( void )

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

◆ MR_LineSegm3d_DefaultConstructArray()

MRC_API MR_LineSegm3d * MR_LineSegm3d_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_LineSegm3d_DestroyArray(). Use MR_LineSegm3d_OffsetMutablePtr() and MR_LineSegm3d_OffsetPtr() to access the array elements.

◆ MR_LineSegm3d_Destroy()

MRC_API void MR_LineSegm3d_Destroy ( const MR_LineSegm3d * _this)

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

◆ MR_LineSegm3d_DestroyArray()

MRC_API void MR_LineSegm3d_DestroyArray ( const MR_LineSegm3d * _this)

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

◆ MR_LineSegm3d_dir()

MRC_API MR_Vector3d MR_LineSegm3d_dir ( const MR_LineSegm3d * _this)

returns directional vector of the line Generated from a method of class MR::LineSegm3d named dir. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm3d_Get_a()

MRC_API const MR_Vector3d * MR_LineSegm3d_Get_a ( const MR_LineSegm3d * _this)

Returns a pointer to a member variable of class MR::LineSegm3d named a. 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_LineSegm3d_Get_b()

MRC_API const MR_Vector3d * MR_LineSegm3d_Get_b ( const MR_LineSegm3d * _this)

Returns a pointer to a member variable of class MR::LineSegm3d named b. 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_LineSegm3d_GetMutable_a()

MRC_API MR_Vector3d * MR_LineSegm3d_GetMutable_a ( MR_LineSegm3d * _this)

Returns a mutable pointer to a member variable of class MR::LineSegm3d named a. 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_LineSegm3d_GetMutable_b()

MRC_API MR_Vector3d * MR_LineSegm3d_GetMutable_b ( MR_LineSegm3d * _this)

Returns a mutable pointer to a member variable of class MR::LineSegm3d named b. 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_LineSegm3d_length()

MRC_API double MR_LineSegm3d_length ( const MR_LineSegm3d * _this)

returns the length of this line segment Generated from a method of class MR::LineSegm3d named length. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm3d_lengthSq()

MRC_API double MR_LineSegm3d_lengthSq ( const MR_LineSegm3d * _this)

returns squared length of this line segment Generated from a method of class MR::LineSegm3d named lengthSq. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm3d_OffsetMutablePtr()

MRC_API MR_LineSegm3d * MR_LineSegm3d_OffsetMutablePtr ( MR_LineSegm3d * 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_LineSegm3d_OffsetPtr()

MRC_API const MR_LineSegm3d * MR_LineSegm3d_OffsetPtr ( const MR_LineSegm3d * 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_LineSegm3d_Set_a()

MRC_API void MR_LineSegm3d_Set_a ( MR_LineSegm3d * _this,
MR_Vector3d value )

Modifies a member variable of class MR::LineSegm3d named a. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm3d_Set_b()

MRC_API void MR_LineSegm3d_Set_b ( MR_LineSegm3d * _this,
MR_Vector3d value )

Modifies a member variable of class MR::LineSegm3d named b. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm3f_AssignFromAnother()

MRC_API MR_LineSegm3f * MR_LineSegm3f_AssignFromAnother ( MR_LineSegm3f * _this,
const MR_LineSegm3f * _other )

Generated from a method of class MR::LineSegm3f 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_LineSegm3f_call()

MRC_API MR_Vector3f MR_LineSegm3f_call ( const MR_LineSegm3f * _this,
float param )

returns point on the line, where param=0 returns a and param=1 returns b Generated from a method of class MR::LineSegm3f named operator(). Parameter _this can not be null. It is a single object.

◆ MR_LineSegm3f_Construct()

MRC_API MR_LineSegm3f * MR_LineSegm3f_Construct ( const MR_Vector3f * a,
const MR_Vector3f * b )

Generated from a constructor of class MR::LineSegm3f. Parameter a can not be null. It is a single object. Parameter b can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_LineSegm3f_Destroy() to free it when you're done using it.

◆ MR_LineSegm3f_ConstructFromAnother()

MRC_API MR_LineSegm3f * MR_LineSegm3f_ConstructFromAnother ( const MR_LineSegm3f * _other)

Generated from a constructor of class MR::LineSegm3f. Parameter _other can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_LineSegm3f_Destroy() to free it when you're done using it.

◆ MR_LineSegm3f_DefaultConstruct()

MRC_API MR_LineSegm3f * MR_LineSegm3f_DefaultConstruct ( void )

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

◆ MR_LineSegm3f_DefaultConstructArray()

MRC_API MR_LineSegm3f * MR_LineSegm3f_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_LineSegm3f_DestroyArray(). Use MR_LineSegm3f_OffsetMutablePtr() and MR_LineSegm3f_OffsetPtr() to access the array elements.

◆ MR_LineSegm3f_Destroy()

MRC_API void MR_LineSegm3f_Destroy ( const MR_LineSegm3f * _this)

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

◆ MR_LineSegm3f_DestroyArray()

MRC_API void MR_LineSegm3f_DestroyArray ( const MR_LineSegm3f * _this)

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

◆ MR_LineSegm3f_dir()

MRC_API MR_Vector3f MR_LineSegm3f_dir ( const MR_LineSegm3f * _this)

returns directional vector of the line Generated from a method of class MR::LineSegm3f named dir. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm3f_Get_a()

MRC_API const MR_Vector3f * MR_LineSegm3f_Get_a ( const MR_LineSegm3f * _this)

Returns a pointer to a member variable of class MR::LineSegm3f named a. 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_LineSegm3f_Get_b()

MRC_API const MR_Vector3f * MR_LineSegm3f_Get_b ( const MR_LineSegm3f * _this)

Returns a pointer to a member variable of class MR::LineSegm3f named b. 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_LineSegm3f_GetMutable_a()

MRC_API MR_Vector3f * MR_LineSegm3f_GetMutable_a ( MR_LineSegm3f * _this)

Returns a mutable pointer to a member variable of class MR::LineSegm3f named a. 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_LineSegm3f_GetMutable_b()

MRC_API MR_Vector3f * MR_LineSegm3f_GetMutable_b ( MR_LineSegm3f * _this)

Returns a mutable pointer to a member variable of class MR::LineSegm3f named b. 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_LineSegm3f_length()

MRC_API float MR_LineSegm3f_length ( const MR_LineSegm3f * _this)

returns the length of this line segment Generated from a method of class MR::LineSegm3f named length. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm3f_lengthSq()

MRC_API float MR_LineSegm3f_lengthSq ( const MR_LineSegm3f * _this)

returns squared length of this line segment Generated from a method of class MR::LineSegm3f named lengthSq. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm3f_OffsetMutablePtr()

MRC_API MR_LineSegm3f * MR_LineSegm3f_OffsetMutablePtr ( MR_LineSegm3f * 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_LineSegm3f_OffsetPtr()

MRC_API const MR_LineSegm3f * MR_LineSegm3f_OffsetPtr ( const MR_LineSegm3f * 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_LineSegm3f_Set_a()

MRC_API void MR_LineSegm3f_Set_a ( MR_LineSegm3f * _this,
MR_Vector3f value )

Modifies a member variable of class MR::LineSegm3f named a. Parameter _this can not be null. It is a single object.

◆ MR_LineSegm3f_Set_b()

MRC_API void MR_LineSegm3f_Set_b ( MR_LineSegm3f * _this,
MR_Vector3f value )

Modifies a member variable of class MR::LineSegm3f named b. Parameter _this can not be null. It is a single object.