Go to the source code of this file.
Typedefs | |
| typedef struct MR_Vector3d | MR_Vector3d |
| typedef struct MR_QuadricApprox | MR_QuadricApprox |
| typedef struct MR_QuadricApprox MR_QuadricApprox |
Accumulate points and make best quadric approximation
\( a*x^2 + b*x*y + c*y^2 + d*x + e*y + f = z \) Generated from class MR::QuadricApprox. 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_Vector3d MR_Vector3d |
| MRC_API void MR_QuadricApprox_addPoint | ( | MR_QuadricApprox * | _this, |
| const MR_Vector3d * | point, | ||
| const double * | weight ) |
Adds point to accumulation with weight Generated from method MR::QuadricApprox::addPoint. Parameter _this can not be null. It is a single object. Parameter point can not be null. It is a single object. Parameter weight has a default argument: 1.0, pass a null pointer to use it.
| MRC_API MR_QuadricApprox * MR_QuadricApprox_AssignFromAnother | ( | MR_QuadricApprox * | _this, |
| MR_PassBy | _other_pass_by, | ||
| MR_QuadricApprox * | _other ) |
Generated from method MR::QuadricApprox::operator=. Parameter _this can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_QuadricApprox * MR_QuadricApprox_ConstructFromAnother | ( | MR_PassBy | _other_pass_by, |
| MR_QuadricApprox * | _other ) |
Generated from constructor MR::QuadricApprox::QuadricApprox. 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_QuadricApprox_Destroy() to free it when you're done using it.
| MRC_API MR_QuadricApprox * MR_QuadricApprox_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_QuadricApprox_Destroy() to free it when you're done using it.
| MRC_API MR_QuadricApprox * MR_QuadricApprox_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_QuadricApprox_DestroyArray(). Use MR_QuadricApprox_OffsetMutablePtr() and MR_QuadricApprox_OffsetPtr() to access the array elements.
| MRC_API void MR_QuadricApprox_Destroy | ( | const MR_QuadricApprox * | _this | ) |
Destroys a heap-allocated instance of MR_QuadricApprox. Does nothing if the pointer is null.
| MRC_API void MR_QuadricApprox_DestroyArray | ( | const MR_QuadricApprox * | _this | ) |
Destroys a heap-allocated array of MR_QuadricApprox. Does nothing if the pointer is null.
| MRC_API MR_QuadricApprox * MR_QuadricApprox_OffsetMutablePtr | ( | MR_QuadricApprox * | 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_QuadricApprox * MR_QuadricApprox_OffsetPtr | ( | const MR_QuadricApprox * | 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.