28 #ifndef _math_isosurf_triangle_h
29 #define _math_isosurf_triangle_h
31 #include <math/isosurf/tricoef.h>
32 #include <math/isosurf/edge.h>
48 unsigned int _orientation0;
49 unsigned int _orientation1;
50 unsigned int _orientation2;
54 enum {max_order = 10};
57 unsigned int orient0 = 0);
58 Ref<Edge> edge(
int i) {
return _edges[i]; };
60 unsigned int orientation(
int i)
const
62 return i==0?_orientation0:i==1?_orientation1:_orientation2;
64 unsigned int orientation(
const Ref<Edge>&)
const;
89 unsigned int order()
const {
return _order; }
91 void set_order(
int order,
const Ref<Volume>&vol,
double isovalue);
105 void set_r(
int i,
double r);
106 void set_s(
int i,
double s);
107 void set_w(
int i,
double w);
114 inline double w(
int i) {
return _w[i]; }
115 inline double r(
int i) {
return _r[i]; }
116 inline double s(
int i) {
return _s[i]; }
117 inline int n() {
return _n; }
118 virtual void set_n(
int n);
125 void init_rw(
int order);
A template class that maintains references counts.
Definition: ref.h:361
Definition: triangle.h:36
Definition: triangle.h:96
Classes which need runtime information about themselves and their relationship to other classes can v...
Definition: class.h:233
a 3-element version of SCVector
Definition: vector3.h:43
The base class for all reference counted objects.
Definition: ref.h:192
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14
Definition: triangle.h:123
Generated at Sun Jan 26 2020 23:24:00 for MPQC
3.0.0-alpha using the documentation package Doxygen
1.8.16.