Go to the documentation of this file.
   17 #ifdef _MSC_VER  // Microsoft Visual C++ -- warning level 4 
   27 : point_coordinates(0)
 
   29 , point_dimension(
q.hullDimension())
 
   35 : point_coordinates(
c)
 
   37 , point_dimension(
q.hullDimension())
 
   44 : point_coordinates(
c)
 
   46 , point_dimension(pointDimension)
 
   53 : point_coordinates(
c.
data())
 
   55 , point_dimension(
c.count())
 
   67     QhullPointIterator i(*
this);
 
   68     std::vector<coordT> vs;
 
   70         vs.push_back(i.next());
 
  106         double diff= *
c++ - *
c2++;
 
  110     return (dist2 < qh_qh->distanceEpsilon());
 
  126         throw QhullError(10076, 
"QhullPoint error: Cannot compute distance() for undefined point");
 
  132       dist= (
c[0]-
c2[0])*(c[0]-c2[0]) + (
c[1]-
c2[1])*(c[1]-c2[1]);
 
  135       dist= (
c[0]-
c2[0])*(c[0]-c2[0]) + (
c[1]-
c2[1])*(c[1]-c2[1]) + (
c[2]-
c2[2])*(c[2]-c2[2]);
 
  138       dist= (
c[0]-
c2[0])*(c[0]-c2[0]) + (
c[1]-
c2[1])*(c[1]-c2[1]) + (
c[2]-
c2[2])*(c[2]-c2[2]) + (
c[3]-
c2[3])*(c[3]-c2[3]);
 
  141       dist= (
c[0]-
c2[0])*(c[0]-c2[0]) + (
c[1]-
c2[1])*(c[1]-c2[1]) + (
c[2]-
c2[2])*(c[2]-c2[2]) + (
c[3]-
c2[3])*(c[3]-c2[3]) + (
c[4]-
c2[4])*(c[4]-c2[4]);
 
  144       dist= (
c[0]-
c2[0])*(c[0]-c2[0]) + (
c[1]-
c2[1])*(c[1]-c2[1]) + (
c[2]-
c2[2])*(c[2]-c2[2]) + (
c[3]-
c2[3])*(c[3]-c2[3]) + (
c[4]-
c2[4])*(c[4]-c2[4]) + (
c[5]-
c2[5])*(c[5]-c2[5]);
 
  147       dist= (
c[0]-
c2[0])*(c[0]-c2[0]) + (
c[1]-
c2[1])*(c[1]-c2[1]) + (
c[2]-
c2[2])*(c[2]-c2[2]) + (
c[3]-
c2[3])*(c[3]-c2[3]) + (
c[4]-
c2[4])*(c[4]-c2[4]) + (
c[5]-
c2[5])*(c[5]-c2[5]) + (
c[6]-
c2[6])*(c[6]-c2[6]);
 
  150       dist= (
c[0]-
c2[0])*(c[0]-c2[0]) + (
c[1]-
c2[1])*(c[1]-c2[1]) + (
c[2]-
c2[2])*(c[2]-c2[2]) + (
c[3]-
c2[3])*(c[3]-c2[3]) + (
c[4]-
c2[4])*(c[4]-c2[4]) + (
c[5]-
c2[5])*(c[5]-c2[5]) + (
c[6]-
c2[6])*(c[6]-c2[6]) + (
c[7]-
c2[7])*(c[7]-c2[7]);
 
  154       for(
int k=dim; k--; ){
 
  155           dist += (*
c - *
c2) * (*c - *c2);
 
  177     if(pr.point_message){
 
  178         if(*pr.point_message){
 
  179             os << pr.point_message << 
" ";
 
  182             os << 
"p" << i << 
": ";
 
  185     const realT *
c= p.coordinates();
 
  188         if(pr.point_message){
 
  
QhullRidge – Qhull's ridge structure, ridgeT, as a C++ class.
std::vector< coordT > toStdVector() const
ostream & operator<<(ostream &os, const QhullPoint::PrintPoint &pr)
Same as qh_printpointid [io.c].
PrintPoint print(const char *message) const
double distance(const QhullPoint &p) const
Return distance between two points.
Interface to Qhull from C++.
int point_dimension
Default dimension is qh_qh->hull_dim.
bool operator==(const QhullPoint &other) const
coordT * point_coordinates
Pointer to first coordinate, 0 if undefined.
hpp-fcl
Author(s): 
autogenerated on Fri Feb 14 2025 03:45:51