17 #ifdef _MSC_VER // Microsoft Visual C++ -- warning level 4 26 : hyperplane_coordinates(0)
28 , hyperplane_offset(0.0)
29 , hyperplane_dimension(0)
50 QhullHyperplaneIterator i(*
this);
51 std::vector<coordT> fs;
53 fs.push_back(i.next());
77 double a= fabs(angle-1.0);
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();
coordT hyperplane_offset
Distance from hyperplane to origin.
double distanceEpsilon() const
Epsilon for distance to hyperplane.
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
void maybeThrowQhullMessage(int exitCode)
ostream & operator<<(ostream &os, const QhullHyperplane &p)
double angleEpsilon() const
Epsilon for hyperplane angle equality.
PrintHyperplane print(const char *message) const
double distance(const QhullPoint &p) const
realT qh_getangle(pointT *vect1, pointT *vect2)
const coordT * coordinates() const
int hyperplane_dimension
Dimension of hyperplane.
Interface to Qhull from C++.
std::vector< coordT > toStdVector() const
double hyperplaneAngle(const QhullHyperplane &other) const
QhullQh * qh_qh
qhT for distanceEpsilon() in operator==
bool operator==(const QhullHyperplane &other) const
coordT * hyperplane_coordinates
Normal to hyperplane. facetT.normal is normalized to 1.0.
const coordT * coordinates() const
0 if undefined