Fix: ImplicitSurface.operator() is pure virtual
This commit is contained in:
parent
8d11d49b81
commit
4a3a1b9d76
2 changed files with 7 additions and 4 deletions
|
@ -0,0 +1,5 @@
|
|||
#include "Implicit.hpp"
|
||||
|
||||
double ImplicitSurface::operator()(const Point& pt) const {
|
||||
return operator()(pt.x, pt.y, pt.z);
|
||||
}
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
class ImplicitSurface {
|
||||
public:
|
||||
virtual double operator() (double x, double y, double z) const;
|
||||
double operator()(const Point& pt) const {
|
||||
return operator()(pt.x, pt.y, pt.z);
|
||||
}
|
||||
virtual double operator() (double x, double y, double z) const = 0;
|
||||
double operator()(const Point& pt) const;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue