Updating CAD cell/surface methods to use new Position and Direction structs.

This commit is contained in:
shriwise 2018-08-11 08:20:52 -05:00 committed by pshriwise
parent 76660f7459
commit 2e4809c8d5
4 changed files with 21 additions and 14 deletions

View file

@ -132,10 +132,10 @@ class CADSurface : public Surface
public:
moab::DagMC* dagmc_ptr;
explicit CADSurface();
double evaluate(const double xyz[3]) const;
double distance(const double xyz[3], const double uvw[3],
double evaluate(Position p) const;
double distance(Position p, Direction u,
bool coincident) const;
void normal(const double xyz[3], double uvw[3]) const;
Direction normal(Position p) const;
//! Get the bounding box of this surface.
BoundingBox bounding_box() const;
};