139 { cd = 0; cv = 0; sd = 0; }
145 { cd = cdd; cv = cvv; sd = sdd; }
148 {
return (
ANNbool) ((q[cd] - cv)*sd >= 0); }
151 {
return (
ANNbool) ((q[cd] - cv)*sd < 0); }
157 { cd = d; cv = p[d]; sd = +1; }
160 { cd = d; cv = p[d]; sd = -1; }
163 {
if (out(q)) q[cd] = cv; }
void annError(const char *msg, ANNerr level)
void project(ANNpoint &q)
ANNdist dist(ANNpoint q) const
ANNorthRect(int dd, const ANNorthRect &r)
ANNorthRect(int dd, ANNcoord l=0, ANNcoord h=0)
void setUpperBound(int d, ANNpoint p)
ANNorthHalfSpace * ANNorthHSArray
ANNbool out(ANNpoint q) const
DLL_API ANNpoint annCopyPt(int dim, ANNpoint source)
ANNorthRect(int dd, ANNpoint l, ANNpoint h)
DLL_API ANNpoint annAllocPt(int dim, ANNcoord c=0)
ANNorthHalfSpace(int cdd, ANNcoord cvv, int sdd)
DLL_API void annDeallocPt(ANNpoint &p)
ANNbool in(ANNpoint q) const
void annAssignRect(int dim, ANNorthRect &dest, const ANNorthRect &source)
ANNbool inside(int dim, ANNpoint p)
void setLowerBound(int d, ANNpoint p)
void annPrintPt(ANNpoint pt, int dim, std::ostream &out)