17 #ifdef _MSC_VER // Microsoft Visual C++ -- warning level 4
26 : hyperplane_coordinates(0)
28 , hyperplane_offset(0.0)
29 , hyperplane_dimension(0)
35 : hyperplane_coordinates(
c)
37 , hyperplane_offset(hyperplaneOffset)
38 , hyperplane_dimension(hyperplaneDimension)
50 QhullHyperplaneIterator i(*
this);
51 std::vector<coordT> fs;
53 fs.push_back(i.next());
77 double a= fabs(angle-1.0);
93 const coordT *point= p.coordinates();
94 int dim= p.dimension();
101 dist=
offset() + point[0] * normal[0] + point[1] * normal[1];
104 dist=
offset() + point[0] * normal[0] + point[1] * normal[1] + point[2] * normal[2];
107 dist=
offset()+point[0]*normal[0]+point[1]*normal[1]+point[2]*normal[2]+point[3]*normal[3];
110 dist=
offset()+point[0]*normal[0]+point[1]*normal[1]+point[2]*normal[2]+point[3]*normal[3]+point[4]*normal[4];
113 dist=
offset()+point[0]*normal[0]+point[1]*normal[1]+point[2]*normal[2]+point[3]*normal[3]+point[4]*normal[4]+point[5]*normal[5];
116 dist=
offset()+point[0]*normal[0]+point[1]*normal[1]+point[2]*normal[2]+point[3]*normal[3]+point[4]*normal[4]+point[5]*normal[5]+point[6]*normal[6];
119 dist=
offset()+point[0]*normal[0]+point[1]*normal[1]+point[2]*normal[2]+point[3]*normal[3]+point[4]*normal[4]+point[5]*normal[5]+point[6]*normal[6]+point[7]*normal[7];
123 for (
int k=
dim; k--; )
124 dist += *point++ * *normal++;
133 volatile realT result= 0.0;
170 operator<<(ostream &os,
const QhullHyperplane::PrintHyperplane &pr)
172 os << pr.print_message;
177 if(pr.print_message){
183 os << pr.hyperplane_offset_message <<
" " << p.
offset();