Sphere.cpp File Reference
#include "Sphere.h"
#include <MiscLib/Performance.h>
#include <GfxTL/IndexedIterator.h>
#include <GfxTL/MathHelper.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[] 
)

Definition at line 7 of file solve.cpp.

+ Here is the call graph for this function:
+ 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 119 of file Sphere.cpp.

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

◆ NormalizeSphereParams()

void NormalizeSphereParams ( float param)

Definition at line 386 of file Sphere.cpp.

◆ SphereDistance()

float SphereDistance ( const float param,
const float x 
)

Definition at line 356 of file Sphere.cpp.

+ Here is the call graph for this function:

◆ SphereDistanceDerivatives()

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

Definition at line 368 of file Sphere.cpp.

+ Here is the call graph for this function:

◆ tetrahedron_circumsphere_3d()

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

Definition at line 11 of file Sphere.cpp.

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