torus.cpp File Reference

#include "torus.h"
#include "paramset.h"
#include "dynload.h"
Include dependency graph for torus.cpp:

Go to the source code of this file.

Functions

int signR (double Z)
double CBRT (double Z)
int cubic (double A[4], double X[3])
int quartic (double dd[5], double sol[4])

Variables

static
DynamicLoader::RegisterShape
< Torus
r ("torus")

Function Documentation

double CBRT ( double  Z  ) 

Definition at line 38 of file torus.cpp.

References cimg_library::pow(), and signR().

Referenced by cubic().

int cubic ( double  A[4],
double  X[3] 
)
int quartic ( double  dd[5],
double  sol[4] 
)

Definition at line 163 of file torus.cpp.

References b, cubic(), cimg_library::cimg::max(), p, r, and cimg_library::sqrt().

Referenced by lux::Torus::FindIntersection().

int signR ( double  Z  ) 

Definition at line 30 of file torus.cpp.

Referenced by CBRT().


Variable Documentation

DynamicLoader::RegisterShape<Torus> r("torus") [static]

Referenced by quartic().

Generated by  doxygen 1.6.2-20100208