Lines Matching defs:pnts
52 _segment_hull_intersect(double *sa, double *sb, const double *pnts,
62 result = _segment_segment_intersection(sa, sb, pnts + 2 * hull[a],
63 pnts + 2 * hull[a + 1]);
162 * Finding the rect from 4 pnts isn't too bad. Find the bbox
167 _bound(const double *pnts, int npnts, int *hull, int hull_len, double *bbox)
179 x = pnts[2 * hull[a]];
180 y = pnts[2 * hull[a] + 1];
204 retval = _segment_hull_intersect(min, max, pnts, hull, hull_len, intr_pnts);
213 _segment_hull_intersect(dir, pnt, pnts, hull, hull_len, intr_pnts + 4);
230 crHullInteriorBox(const double *pnts, int npnts, double *bbox)
246 if (pnts[a + 1] < pnts[2 * lowest + 1])
251 p0 = pnts + 2 * lowest;
266 p1 = pnts + 2 * a;
299 p0 = pnts + 2 * low_idx;
312 _bound(pnts, npnts, hull, idx, bbox);