28 #ifndef _math_isosurf_edge_h 29 #define _math_isosurf_edge_h 37 #include <math/isosurf/vertex.h> 51 _vertices[0]=p1; _vertices[1]=p2;
61 int order()
const {
return _order; }
62 double straight_length();
66 return i?_vertices[_order]:_vertices[0];
75 void set_order(
int order,
const Ref<Volume>&vol,
double isovalue);
The base class for all reference counted objects.
Definition: ref.h:194
A template class that maintains references counts.
Definition: ref.h:332