#include <MRCMesh/MRVector3.h>#include <MRCMisc/common.h>#include <MRCMisc/exports.h>#include <stdbool.h>#include <stddef.h>Go to the source code of this file.
Typedefs | |
| typedef struct MR_std_array_MR_Vector3d_3 | MR_std_array_MR_Vector3d_3 |
| typedef struct MR_TriTriDistanceResult_float | MR_TriTriDistanceResult_float |
| typedef struct MR_TriTriDistanceResult_double | MR_TriTriDistanceResult_double |
| typedef bool | MR_UpLimitCheck |
| typedef struct MR_TriTriDistanceParams_float | MR_TriTriDistanceParams_float |
| typedef struct MR_TriTriDistanceParams_double | MR_TriTriDistanceParams_double |
Enumerations | |
| enum | { MR_UpLimitCheck_GreaterOrEqual = 0 , MR_UpLimitCheck_Greater = 1 } |
| typedef struct MR_std_array_MR_Vector3d_3 MR_std_array_MR_Vector3d_3 |
| typedef struct MR_TriTriDistanceParams_double MR_TriTriDistanceParams_double |
Generated from class MR::TriTriDistanceParams<double>. 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).
| typedef struct MR_TriTriDistanceParams_float MR_TriTriDistanceParams_float |
Generated from class MR::TriTriDistanceParams<float>. 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).
| typedef struct MR_TriTriDistanceResult_double MR_TriTriDistanceResult_double |
Generated from class MR::TriTriDistanceResult<double>. 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).
| typedef struct MR_TriTriDistanceResult_float MR_TriTriDistanceResult_float |
Generated from class MR::TriTriDistanceResult<float>. 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).
| typedef bool MR_UpLimitCheck |
| anonymous enum |
| MRC_API MR_TriTriDistanceResult_double * MR_findTriTriDistance_std_array_MR_Vector3d_3 | ( | const MR_std_array_MR_Vector3d_3 * | a, |
| const MR_std_array_MR_Vector3d_3 * | b, | ||
| const MR_TriTriDistanceParams_double * | params ) |
Generated from function MR::findTriTriDistance. Parameter a can not be null. It is a single object. Parameter b can not be null. It is a single object. Parameter params is a single object. Parameter params has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_TriTriDistanceResult_double_Destroy() to free it when you're done using it.
| MRC_API MR_TriTriDistanceResult_float * MR_findTriTriDistance_std_array_MR_Vector3f_3 | ( | const MR_std_array_MR_Vector3f_3 * | a, |
| const MR_std_array_MR_Vector3f_3 * | b, | ||
| const MR_TriTriDistanceParams_float * | params ) |
computes the closest points on two triangles Generated from function MR::findTriTriDistance. Parameter a can not be null. It is a single object. Parameter b can not be null. It is a single object. Parameter params is a single object. Parameter params has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_TriTriDistanceResult_float_Destroy() to free it when you're done using it.
| MRC_API void MR_segPoints | ( | MR_Vector3f * | VEC, |
| MR_Vector3f * | X, | ||
| MR_Vector3f * | Y, | ||
| const MR_Vector3f * | P, | ||
| const MR_Vector3f * | A, | ||
| const MR_Vector3f * | Q, | ||
| const MR_Vector3f * | B ) |
Generated from function MR::segPoints. Parameter VEC can not be null. It is a single object. Parameter X can not be null. It is a single object. Parameter Y can not be null. It is a single object. Parameter P can not be null. It is a single object. Parameter A can not be null. It is a single object. Parameter Q can not be null. It is a single object. Parameter B can not be null. It is a single object.
| MRC_API float MR_triDist | ( | MR_Vector3f * | p, |
| MR_Vector3f * | q, | ||
| const MR_std_array_MR_Vector3f_3 * | s, | ||
| const MR_std_array_MR_Vector3f_3 * | t ) |
Generated from function MR::triDist. Parameter p can not be null. It is a single object. Parameter q can not be null. It is a single object. Parameter s can not be null. It is a single object. Parameter t can not be null. It is a single object.
| MRC_API MR_TriTriDistanceParams_double * MR_TriTriDistanceParams_double_AssignFromAnother | ( | MR_TriTriDistanceParams_double * | _this, |
| const MR_TriTriDistanceParams_double * | _other ) |
Generated from method MR::TriTriDistanceParams<double>::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 held previously.
| MRC_API bool MR_TriTriDistanceParams_double_canExitEarlier_0 | ( | const MR_TriTriDistanceParams_double * | _this | ) |
Generated from method MR::TriTriDistanceParams<double>::canExitEarlier. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_TriTriDistanceParams_double_canExitEarlier_1 | ( | const MR_TriTriDistanceParams_double * | _this, |
| double | distSqLowerBound ) |
Generated from method MR::TriTriDistanceParams<double>::canExitEarlier. Parameter _this can not be null. It is a single object.
| MRC_API MR_TriTriDistanceParams_double * MR_TriTriDistanceParams_double_ConstructFrom | ( | double | upDistLimitSq, |
| MR_UpLimitCheck | upLimitCheck ) |
Constructs MR::TriTriDistanceParams<double> elementwise. The reference to the parameter upLimitCheck might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_TriTriDistanceParams_double_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_TriTriDistanceParams_double * MR_TriTriDistanceParams_double_ConstructFromAnother | ( | const MR_TriTriDistanceParams_double * | _other | ) |
Generated from constructor MR::TriTriDistanceParams<double>::TriTriDistanceParams. 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_TriTriDistanceParams_double_Destroy() to free it when you're done using it.
| MRC_API MR_TriTriDistanceParams_double * MR_TriTriDistanceParams_double_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_TriTriDistanceParams_double_Destroy() to free it when you're done using it.
| MRC_API MR_TriTriDistanceParams_double * MR_TriTriDistanceParams_double_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_TriTriDistanceParams_double_DestroyArray(). Use MR_TriTriDistanceParams_double_OffsetMutablePtr() and MR_TriTriDistanceParams_double_OffsetPtr() to access the array elements.
| MRC_API void MR_TriTriDistanceParams_double_Destroy | ( | const MR_TriTriDistanceParams_double * | _this | ) |
Destroys a heap-allocated instance of MR_TriTriDistanceParams_double. Does nothing if the pointer is null.
| MRC_API void MR_TriTriDistanceParams_double_DestroyArray | ( | const MR_TriTriDistanceParams_double * | _this | ) |
Destroys a heap-allocated array of MR_TriTriDistanceParams_double. Does nothing if the pointer is null.
| MRC_API const double * MR_TriTriDistanceParams_double_Get_upDistLimitSq | ( | const MR_TriTriDistanceParams_double * | _this | ) |
upper limit on the distance in question, if the real distance is larger (or equal depending on upLimitCheck) then findTriTriDistance exits earlier returning lower bound on distSq >= upDistLimitSq and the points a and b can be arbitrary Returns a pointer to a member variable of class MR::TriTriDistanceParams<double> named upDistLimitSq. 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. The reference to this object might be preserved as the return value.
| MRC_API const MR_UpLimitCheck * MR_TriTriDistanceParams_double_Get_upLimitCheck | ( | const MR_TriTriDistanceParams_double * | _this | ) |
Returns a pointer to a member variable of class MR::TriTriDistanceParams<double> named upLimitCheck. 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. The reference to this object might be preserved as the return value.
| MRC_API double * MR_TriTriDistanceParams_double_GetMutable_upDistLimitSq | ( | MR_TriTriDistanceParams_double * | _this | ) |
upper limit on the distance in question, if the real distance is larger (or equal depending on upLimitCheck) then findTriTriDistance exits earlier returning lower bound on distSq >= upDistLimitSq and the points a and b can be arbitrary Returns a mutable pointer to a member variable of class MR::TriTriDistanceParams<double> named upDistLimitSq. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_UpLimitCheck * MR_TriTriDistanceParams_double_GetMutable_upLimitCheck | ( | MR_TriTriDistanceParams_double * | _this | ) |
Returns a mutable pointer to a member variable of class MR::TriTriDistanceParams<double> named upLimitCheck. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_TriTriDistanceParams_double * MR_TriTriDistanceParams_double_OffsetMutablePtr | ( | MR_TriTriDistanceParams_double * | 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.
| MRC_API const MR_TriTriDistanceParams_double * MR_TriTriDistanceParams_double_OffsetPtr | ( | const MR_TriTriDistanceParams_double * | 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.
| MRC_API void MR_TriTriDistanceParams_double_Set_upDistLimitSq | ( | MR_TriTriDistanceParams_double * | _this, |
| double | value ) |
upper limit on the distance in question, if the real distance is larger (or equal depending on upLimitCheck) then findTriTriDistance exits earlier returning lower bound on distSq >= upDistLimitSq and the points a and b can be arbitrary Modifies a member variable of class MR::TriTriDistanceParams<double> named upDistLimitSq. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in upDistLimitSq.
| MRC_API void MR_TriTriDistanceParams_double_Set_upLimitCheck | ( | MR_TriTriDistanceParams_double * | _this, |
| MR_UpLimitCheck | value ) |
Modifies a member variable of class MR::TriTriDistanceParams<double> named upLimitCheck. 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 upLimitCheck. When this function is called, this object will drop object references it held previously in upLimitCheck.
| MRC_API MR_TriTriDistanceParams_float * MR_TriTriDistanceParams_float_AssignFromAnother | ( | MR_TriTriDistanceParams_float * | _this, |
| const MR_TriTriDistanceParams_float * | _other ) |
Generated from method MR::TriTriDistanceParams<float>::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 held previously.
| MRC_API bool MR_TriTriDistanceParams_float_canExitEarlier_0 | ( | const MR_TriTriDistanceParams_float * | _this | ) |
Generated from method MR::TriTriDistanceParams<float>::canExitEarlier. Parameter _this can not be null. It is a single object.
| MRC_API bool MR_TriTriDistanceParams_float_canExitEarlier_1 | ( | const MR_TriTriDistanceParams_float * | _this, |
| float | distSqLowerBound ) |
Generated from method MR::TriTriDistanceParams<float>::canExitEarlier. Parameter _this can not be null. It is a single object.
| MRC_API MR_TriTriDistanceParams_float * MR_TriTriDistanceParams_float_ConstructFrom | ( | float | upDistLimitSq, |
| MR_UpLimitCheck | upLimitCheck ) |
Constructs MR::TriTriDistanceParams<float> elementwise. The reference to the parameter upLimitCheck might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_TriTriDistanceParams_float_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_TriTriDistanceParams_float * MR_TriTriDistanceParams_float_ConstructFromAnother | ( | const MR_TriTriDistanceParams_float * | _other | ) |
Generated from constructor MR::TriTriDistanceParams<float>::TriTriDistanceParams. 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_TriTriDistanceParams_float_Destroy() to free it when you're done using it.
| MRC_API MR_TriTriDistanceParams_float * MR_TriTriDistanceParams_float_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_TriTriDistanceParams_float_Destroy() to free it when you're done using it.
| MRC_API MR_TriTriDistanceParams_float * MR_TriTriDistanceParams_float_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_TriTriDistanceParams_float_DestroyArray(). Use MR_TriTriDistanceParams_float_OffsetMutablePtr() and MR_TriTriDistanceParams_float_OffsetPtr() to access the array elements.
| MRC_API void MR_TriTriDistanceParams_float_Destroy | ( | const MR_TriTriDistanceParams_float * | _this | ) |
Destroys a heap-allocated instance of MR_TriTriDistanceParams_float. Does nothing if the pointer is null.
| MRC_API void MR_TriTriDistanceParams_float_DestroyArray | ( | const MR_TriTriDistanceParams_float * | _this | ) |
Destroys a heap-allocated array of MR_TriTriDistanceParams_float. Does nothing if the pointer is null.
| MRC_API const float * MR_TriTriDistanceParams_float_Get_upDistLimitSq | ( | const MR_TriTriDistanceParams_float * | _this | ) |
upper limit on the distance in question, if the real distance is larger (or equal depending on upLimitCheck) then findTriTriDistance exits earlier returning lower bound on distSq >= upDistLimitSq and the points a and b can be arbitrary Returns a pointer to a member variable of class MR::TriTriDistanceParams<float> named upDistLimitSq. 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. The reference to this object might be preserved as the return value.
| MRC_API const MR_UpLimitCheck * MR_TriTriDistanceParams_float_Get_upLimitCheck | ( | const MR_TriTriDistanceParams_float * | _this | ) |
Returns a pointer to a member variable of class MR::TriTriDistanceParams<float> named upLimitCheck. 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. The reference to this object might be preserved as the return value.
| MRC_API float * MR_TriTriDistanceParams_float_GetMutable_upDistLimitSq | ( | MR_TriTriDistanceParams_float * | _this | ) |
upper limit on the distance in question, if the real distance is larger (or equal depending on upLimitCheck) then findTriTriDistance exits earlier returning lower bound on distSq >= upDistLimitSq and the points a and b can be arbitrary Returns a mutable pointer to a member variable of class MR::TriTriDistanceParams<float> named upDistLimitSq. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_UpLimitCheck * MR_TriTriDistanceParams_float_GetMutable_upLimitCheck | ( | MR_TriTriDistanceParams_float * | _this | ) |
Returns a mutable pointer to a member variable of class MR::TriTriDistanceParams<float> named upLimitCheck. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_TriTriDistanceParams_float * MR_TriTriDistanceParams_float_OffsetMutablePtr | ( | MR_TriTriDistanceParams_float * | 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.
| MRC_API const MR_TriTriDistanceParams_float * MR_TriTriDistanceParams_float_OffsetPtr | ( | const MR_TriTriDistanceParams_float * | 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.
| MRC_API void MR_TriTriDistanceParams_float_Set_upDistLimitSq | ( | MR_TriTriDistanceParams_float * | _this, |
| float | value ) |
upper limit on the distance in question, if the real distance is larger (or equal depending on upLimitCheck) then findTriTriDistance exits earlier returning lower bound on distSq >= upDistLimitSq and the points a and b can be arbitrary Modifies a member variable of class MR::TriTriDistanceParams<float> named upDistLimitSq. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in upDistLimitSq.
| MRC_API void MR_TriTriDistanceParams_float_Set_upLimitCheck | ( | MR_TriTriDistanceParams_float * | _this, |
| MR_UpLimitCheck | value ) |
Modifies a member variable of class MR::TriTriDistanceParams<float> named upLimitCheck. 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 upLimitCheck. When this function is called, this object will drop object references it held previously in upLimitCheck.
| MRC_API MR_TriTriDistanceResult_double * MR_TriTriDistanceResult_double_AssignFromAnother | ( | MR_TriTriDistanceResult_double * | _this, |
| const MR_TriTriDistanceResult_double * | _other ) |
Generated from method MR::TriTriDistanceResult<double>::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 held previously.
| MRC_API MR_TriTriDistanceResult_double * MR_TriTriDistanceResult_double_ConstructFrom | ( | MR_Vector3d | a, |
| MR_Vector3d | b, | ||
| double | distSq, | ||
| bool | overlap ) |
Constructs MR::TriTriDistanceResult<double> elementwise. The reference to the parameter a might be preserved in the constructed object. The reference to the parameter b might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_TriTriDistanceResult_double_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_TriTriDistanceResult_double * MR_TriTriDistanceResult_double_ConstructFromAnother | ( | const MR_TriTriDistanceResult_double * | _other | ) |
Generated from constructor MR::TriTriDistanceResult<double>::TriTriDistanceResult. 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_TriTriDistanceResult_double_Destroy() to free it when you're done using it.
| MRC_API MR_TriTriDistanceResult_double * MR_TriTriDistanceResult_double_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_TriTriDistanceResult_double_Destroy() to free it when you're done using it.
| MRC_API MR_TriTriDistanceResult_double * MR_TriTriDistanceResult_double_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_TriTriDistanceResult_double_DestroyArray(). Use MR_TriTriDistanceResult_double_OffsetMutablePtr() and MR_TriTriDistanceResult_double_OffsetPtr() to access the array elements.
| MRC_API void MR_TriTriDistanceResult_double_Destroy | ( | const MR_TriTriDistanceResult_double * | _this | ) |
Destroys a heap-allocated instance of MR_TriTriDistanceResult_double. Does nothing if the pointer is null.
| MRC_API void MR_TriTriDistanceResult_double_DestroyArray | ( | const MR_TriTriDistanceResult_double * | _this | ) |
Destroys a heap-allocated array of MR_TriTriDistanceResult_double. Does nothing if the pointer is null.
| MRC_API const MR_Vector3d * MR_TriTriDistanceResult_double_Get_a | ( | const MR_TriTriDistanceResult_double * | _this | ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Returns a pointer to a member variable of class MR::TriTriDistanceResult<double> 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. The reference to this object might be preserved as the return value.
| MRC_API const MR_Vector3d * MR_TriTriDistanceResult_double_Get_b | ( | const MR_TriTriDistanceResult_double * | _this | ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Returns a pointer to a member variable of class MR::TriTriDistanceResult<double> 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. The reference to this object might be preserved as the return value.
| MRC_API const double * MR_TriTriDistanceResult_double_Get_distSq | ( | const MR_TriTriDistanceResult_double * | _this | ) |
If the triangles are disjoint, it is the squared distance them (equal to the squared distance between a and b points). If the triangles overlap, it is zero. Returns a pointer to a member variable of class MR::TriTriDistanceResult<double> named distSq. 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. The reference to this object might be preserved as the return value.
| MRC_API const bool * MR_TriTriDistanceResult_double_Get_overlap | ( | const MR_TriTriDistanceResult_double * | _this | ) |
overlap==true means that the triangles are intersecting and not just touch one another => distSq == 0 if distSq == 0 and overlap == false, then the triangles just touch one another Returns a pointer to a member variable of class MR::TriTriDistanceResult<double> named overlap. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_Vector3d * MR_TriTriDistanceResult_double_GetMutable_a | ( | MR_TriTriDistanceResult_double * | _this | ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Returns a mutable pointer to a member variable of class MR::TriTriDistanceResult<double> 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. The reference to this object might be preserved as the return value.
| MRC_API MR_Vector3d * MR_TriTriDistanceResult_double_GetMutable_b | ( | MR_TriTriDistanceResult_double * | _this | ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Returns a mutable pointer to a member variable of class MR::TriTriDistanceResult<double> 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. The reference to this object might be preserved as the return value.
| MRC_API double * MR_TriTriDistanceResult_double_GetMutable_distSq | ( | MR_TriTriDistanceResult_double * | _this | ) |
If the triangles are disjoint, it is the squared distance them (equal to the squared distance between a and b points). If the triangles overlap, it is zero. Returns a mutable pointer to a member variable of class MR::TriTriDistanceResult<double> named distSq. 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. The reference to this object might be preserved as the return value.
| MRC_API bool * MR_TriTriDistanceResult_double_GetMutable_overlap | ( | MR_TriTriDistanceResult_double * | _this | ) |
overlap==true means that the triangles are intersecting and not just touch one another => distSq == 0 if distSq == 0 and overlap == false, then the triangles just touch one another Returns a mutable pointer to a member variable of class MR::TriTriDistanceResult<double> named overlap. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_TriTriDistanceResult_double * MR_TriTriDistanceResult_double_OffsetMutablePtr | ( | MR_TriTriDistanceResult_double * | 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.
| MRC_API const MR_TriTriDistanceResult_double * MR_TriTriDistanceResult_double_OffsetPtr | ( | const MR_TriTriDistanceResult_double * | 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.
| MRC_API void MR_TriTriDistanceResult_double_Set_a | ( | MR_TriTriDistanceResult_double * | _this, |
| MR_Vector3d | value ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Modifies a member variable of class MR::TriTriDistanceResult<double> named a. 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 a. When this function is called, this object will drop object references it held previously in a.
| MRC_API void MR_TriTriDistanceResult_double_Set_b | ( | MR_TriTriDistanceResult_double * | _this, |
| MR_Vector3d | value ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Modifies a member variable of class MR::TriTriDistanceResult<double> named b. 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 b. When this function is called, this object will drop object references it held previously in b.
| MRC_API void MR_TriTriDistanceResult_double_Set_distSq | ( | MR_TriTriDistanceResult_double * | _this, |
| double | value ) |
If the triangles are disjoint, it is the squared distance them (equal to the squared distance between a and b points). If the triangles overlap, it is zero. Modifies a member variable of class MR::TriTriDistanceResult<double> named distSq. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in distSq.
| MRC_API void MR_TriTriDistanceResult_double_Set_overlap | ( | MR_TriTriDistanceResult_double * | _this, |
| bool | value ) |
overlap==true means that the triangles are intersecting and not just touch one another => distSq == 0 if distSq == 0 and overlap == false, then the triangles just touch one another Modifies a member variable of class MR::TriTriDistanceResult<double> named overlap. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in overlap.
| MRC_API MR_TriTriDistanceResult_float * MR_TriTriDistanceResult_float_AssignFromAnother | ( | MR_TriTriDistanceResult_float * | _this, |
| const MR_TriTriDistanceResult_float * | _other ) |
Generated from method MR::TriTriDistanceResult<float>::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 held previously.
| MRC_API MR_TriTriDistanceResult_float * MR_TriTriDistanceResult_float_ConstructFrom | ( | MR_Vector3f | a, |
| MR_Vector3f | b, | ||
| float | distSq, | ||
| bool | overlap ) |
Constructs MR::TriTriDistanceResult<float> elementwise. The reference to the parameter a might be preserved in the constructed object. The reference to the parameter b might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_TriTriDistanceResult_float_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_TriTriDistanceResult_float * MR_TriTriDistanceResult_float_ConstructFromAnother | ( | const MR_TriTriDistanceResult_float * | _other | ) |
Generated from constructor MR::TriTriDistanceResult<float>::TriTriDistanceResult. 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_TriTriDistanceResult_float_Destroy() to free it when you're done using it.
| MRC_API MR_TriTriDistanceResult_float * MR_TriTriDistanceResult_float_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_TriTriDistanceResult_float_Destroy() to free it when you're done using it.
| MRC_API MR_TriTriDistanceResult_float * MR_TriTriDistanceResult_float_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_TriTriDistanceResult_float_DestroyArray(). Use MR_TriTriDistanceResult_float_OffsetMutablePtr() and MR_TriTriDistanceResult_float_OffsetPtr() to access the array elements.
| MRC_API void MR_TriTriDistanceResult_float_Destroy | ( | const MR_TriTriDistanceResult_float * | _this | ) |
Destroys a heap-allocated instance of MR_TriTriDistanceResult_float. Does nothing if the pointer is null.
| MRC_API void MR_TriTriDistanceResult_float_DestroyArray | ( | const MR_TriTriDistanceResult_float * | _this | ) |
Destroys a heap-allocated array of MR_TriTriDistanceResult_float. Does nothing if the pointer is null.
| MRC_API const MR_Vector3f * MR_TriTriDistanceResult_float_Get_a | ( | const MR_TriTriDistanceResult_float * | _this | ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Returns a pointer to a member variable of class MR::TriTriDistanceResult<float> 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. The reference to this object might be preserved as the return value.
| MRC_API const MR_Vector3f * MR_TriTriDistanceResult_float_Get_b | ( | const MR_TriTriDistanceResult_float * | _this | ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Returns a pointer to a member variable of class MR::TriTriDistanceResult<float> 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. The reference to this object might be preserved as the return value.
| MRC_API const float * MR_TriTriDistanceResult_float_Get_distSq | ( | const MR_TriTriDistanceResult_float * | _this | ) |
If the triangles are disjoint, it is the squared distance them (equal to the squared distance between a and b points). If the triangles overlap, it is zero. Returns a pointer to a member variable of class MR::TriTriDistanceResult<float> named distSq. 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. The reference to this object might be preserved as the return value.
| MRC_API const bool * MR_TriTriDistanceResult_float_Get_overlap | ( | const MR_TriTriDistanceResult_float * | _this | ) |
overlap==true means that the triangles are intersecting and not just touch one another => distSq == 0 if distSq == 0 and overlap == false, then the triangles just touch one another Returns a pointer to a member variable of class MR::TriTriDistanceResult<float> named overlap. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_Vector3f * MR_TriTriDistanceResult_float_GetMutable_a | ( | MR_TriTriDistanceResult_float * | _this | ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Returns a mutable pointer to a member variable of class MR::TriTriDistanceResult<float> 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. The reference to this object might be preserved as the return value.
| MRC_API MR_Vector3f * MR_TriTriDistanceResult_float_GetMutable_b | ( | MR_TriTriDistanceResult_float * | _this | ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Returns a mutable pointer to a member variable of class MR::TriTriDistanceResult<float> 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. The reference to this object might be preserved as the return value.
| MRC_API float * MR_TriTriDistanceResult_float_GetMutable_distSq | ( | MR_TriTriDistanceResult_float * | _this | ) |
If the triangles are disjoint, it is the squared distance them (equal to the squared distance between a and b points). If the triangles overlap, it is zero. Returns a mutable pointer to a member variable of class MR::TriTriDistanceResult<float> named distSq. 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. The reference to this object might be preserved as the return value.
| MRC_API bool * MR_TriTriDistanceResult_float_GetMutable_overlap | ( | MR_TriTriDistanceResult_float * | _this | ) |
overlap==true means that the triangles are intersecting and not just touch one another => distSq == 0 if distSq == 0 and overlap == false, then the triangles just touch one another Returns a mutable pointer to a member variable of class MR::TriTriDistanceResult<float> named overlap. 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. The reference to this object might be preserved as the return value.
| MRC_API MR_TriTriDistanceResult_float * MR_TriTriDistanceResult_float_OffsetMutablePtr | ( | MR_TriTriDistanceResult_float * | 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.
| MRC_API const MR_TriTriDistanceResult_float * MR_TriTriDistanceResult_float_OffsetPtr | ( | const MR_TriTriDistanceResult_float * | 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.
| MRC_API void MR_TriTriDistanceResult_float_Set_a | ( | MR_TriTriDistanceResult_float * | _this, |
| MR_Vector3f | value ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Modifies a member variable of class MR::TriTriDistanceResult<float> named a. 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 a. When this function is called, this object will drop object references it held previously in a.
| MRC_API void MR_TriTriDistanceResult_float_Set_b | ( | MR_TriTriDistanceResult_float * | _this, |
| MR_Vector3f | value ) |
If the triangles are disjoint, these points are the closest points of the corresponding triangles. However, if the triangles overlap, these are basically a random pair of points from the triangles, not coincident points on the intersection of the triangles, as might be expected. Modifies a member variable of class MR::TriTriDistanceResult<float> named b. 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 b. When this function is called, this object will drop object references it held previously in b.
| MRC_API void MR_TriTriDistanceResult_float_Set_distSq | ( | MR_TriTriDistanceResult_float * | _this, |
| float | value ) |
If the triangles are disjoint, it is the squared distance them (equal to the squared distance between a and b points). If the triangles overlap, it is zero. Modifies a member variable of class MR::TriTriDistanceResult<float> named distSq. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in distSq.
| MRC_API void MR_TriTriDistanceResult_float_Set_overlap | ( | MR_TriTriDistanceResult_float * | _this, |
| bool | value ) |
overlap==true means that the triangles are intersecting and not just touch one another => distSq == 0 if distSq == 0 and overlap == false, then the triangles just touch one another Modifies a member variable of class MR::TriTriDistanceResult<float> named overlap. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it held previously in overlap.