49 namespace SpatialDomains
82 std::list<CompToElmt>::const_iterator def;
109 std::list<CompToElmt>::const_iterator def;
141 coords[2] = (*this)(2);
143 coords[1] = (*this)(1);
145 coords[0] = (*this)(0);
161 (*this)(0) = a[0] + b[0];
162 (*this)(1) = a[1] + b[1];
163 (*this)(2) = a[2] + b[2];
170 (*this)(0) = a[0] - b[0];
171 (*this)(1) = a[1] - b[1];
172 (*this)(2) = a[2] - b[2];
179 (*this)(0) = a[1]*b[2] - a[2]*b[1];
180 (*this)(1) = a[2]*b[0] - a[0]*b[2];
181 (*this)(2) = a[0]*b[1] - a[1]*b[0];
188 return sqrt((
x()-a.
x())*(
x()-a.
x()) + (
y()-a.
y())*(
y()-a.
y()) + (
z()-a.
z())*(
z()-a.
z()));
194 return (
x()*a.
x() +
y()*a.
y() +
z()*a.
z());
246 ASSERTL0(i == 0,
"Index other than 0 is meaningless.");
284 std::ostringstream errstrm;
285 errstrm <<
"Connected edges do not share a vertex. Edges ";