GenGeo  1.1
fit_3d_2spheres_2lines.h
Go to the documentation of this file.
1 
2 // //
3 // Copyright (c) 2007-2014 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
6 // //
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 //
10 // //
12 
13 #ifndef __FIT_3D_2SPHERES_2LINES_FN_H
14 #define __FIT_3D_2SPHERES_2LINES_FN_H
15 
18 #include "util/vector3.h"
19 
20 class fit_3d_2spheres_2lines_fn : public nfunction<double,3>
21 {
22  private:
23  Vector3 m_p1,m_p2; // sphere centers
24  double m_r1,m_r2; // sphere radii
26 
27  public:
28  fit_3d_2spheres_2lines_fn(const Vector3&, double,const Vector3&, double,const Vector3&, const Vector3&,const Vector3&, const Vector3&);
30 
31  virtual double operator()(const nvector<double,3>&) const;
32 };
33 
34 #endif // __FIT_3D_2SPHERES_2LINES_FN_H