1
/////////////////////////////////////////////////////////////
3
// Copyright (c) 2007-2011 by The University of Queensland //
4
// Earth Systems Science Computational Centre (ESSCC) //
5
// http://www.uq.edu.au/esscc //
7
// Primary Business: Brisbane, Queensland, Australia //
8
// Licensed under the Open Software License version 3.0 //
9
// http://www.opensource.org/licenses/osl-3.0.php //
11
/////////////////////////////////////////////////////////////
13
#ifndef __FIT_3D_2SPHERES_2LINES_FN_H
14
#define __FIT_3D_2SPHERES_2LINES_FN_H
17
#include "nfunction.h"
20
class fit_3d_2spheres_2lines_fn : public nfunction<double,3>
23
Vector3 m_p1,m_p2; // sphere centers
24
double m_r1,m_r2; // sphere radii
25
Vector3 m_orig1,m_nor1,m_orig2,m_nor2; // planes
28
fit_3d_2spheres_2lines_fn(const Vector3&, double,const Vector3&, double,const Vector3&, const Vector3&,const Vector3&, const Vector3&);
29
virtual ~fit_3d_2spheres_2lines_fn(){};
31
virtual double operator()(const nvector<double,3>&) const;
34
#endif // __FIT_3D_2SPHERES_2LINES_FN_H