|
virtual | ~geomObject () |
|
virtual void | project_points2geom (int dim, double *oldcoords, double *newcoords, double *derivs) const =0 |
|
virtual double | compute_projecterror (int dim, double *oldcoords) const |
|
virtual void | compute_projecterror (int dim, int nverts, double *oldcoords, double &l1err, double &l2err, double &linferr) const |
|
double | Twonorm (int dim, double *vec) const |
|
Definition at line 6 of file geomObject.cpp.
◆ ~geomObject()
virtual geomObject::~geomObject |
( |
| ) |
|
|
inlinevirtual |
◆ compute_projecterror() [1/2]
virtual double geomObject::compute_projecterror |
( |
int |
dim, |
|
|
double * |
oldcoords |
|
) |
| const |
|
inlinevirtual |
◆ compute_projecterror() [2/2]
virtual void geomObject::compute_projecterror |
( |
int |
dim, |
|
|
int |
nverts, |
|
|
double * |
oldcoords, |
|
|
double & |
l1err, |
|
|
double & |
l2err, |
|
|
double & |
linferr |
|
) |
| const |
|
inlinevirtual |
Definition at line 25 of file geomObject.cpp.
32 l1err = l2err = linferr = 0;
34 for(
int i = 0; i < nverts; ++i )
39 linferr = std::max( linferr, err );
43 l2err = sqrt( l2err / nverts );
References compute_projecterror(), and dim.
◆ project_points2geom()
virtual void geomObject::project_points2geom |
( |
int |
dim, |
|
|
double * |
oldcoords, |
|
|
double * |
newcoords, |
|
|
double * |
derivs |
|
) |
| const |
|
pure virtual |
◆ Twonorm()
double geomObject::Twonorm |
( |
int |
dim, |
|
|
double * |
vec |
|
) |
| const |
|
inline |
The documentation for this class was generated from the following file: