Sphere.cpp File Reference
#include "Sphere.h"
#include <GfxTL/IndexedIterator.h>
#include <GfxTL/MathHelper.h>
#include <MiscLib/Performance.h>
+ Include dependency graph for Sphere.cpp:

Go to the source code of this file.

Macros

#define DIM_NUM   3
 
#define RHS_NUM   1
 

Functions

int dmat_solve (int n, int rhs_num, double a[])
 
bool Midpoint (const Vec3f &p1, const Vec3f &n1, const Vec3f &p2, const Vec3f &n2, Vec3f *mid)
 
void NormalizeSphereParams (float *param)
 
float SphereDistance (const float *param, const float *x)
 
void SphereDistanceDerivatives (const float *param, const float *x, float *gradient)
 
void tetrahedron_circumsphere_3d (double tetra[3 *4], double *r, double pc[3])
 

Macro Definition Documentation

◆ DIM_NUM

#define DIM_NUM   3

◆ RHS_NUM

#define RHS_NUM   1

Function Documentation

◆ dmat_solve()

int dmat_solve ( int n,
int rhs_num,
double a[] )
extern

Definition at line 9 of file solve.cpp.

+ Here is the caller graph for this function:

◆ Midpoint()

bool Midpoint ( const Vec3f & p1,
const Vec3f & n1,
const Vec3f & p2,
const Vec3f & n2,
Vec3f * mid )

Definition at line 120 of file Sphere.cpp.

+ Here is the caller graph for this function:

◆ NormalizeSphereParams()

void NormalizeSphereParams ( float * param)

Definition at line 394 of file Sphere.cpp.

◆ SphereDistance()

float SphereDistance ( const float * param,
const float * x )

Definition at line 363 of file Sphere.cpp.

◆ SphereDistanceDerivatives()

void SphereDistanceDerivatives ( const float * param,
const float * x,
float * gradient )

Definition at line 376 of file Sphere.cpp.

◆ tetrahedron_circumsphere_3d()

void tetrahedron_circumsphere_3d ( double tetra[3 *4],
double * r,
double pc[3] )

Definition at line 13 of file Sphere.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: