996 Index
point distance algorithms (contin-
ued)
point to quadratic curve,
217–219
point to quadric surface,
401–405
point to ray (2D), 191–192
point to ray (3D), 367–369
point to rectangle (2D), 211–213
point to rectangle (3D), 382–384
point to segment (2D), 192–193
point to segment (3D), 367–369
point to tetrahedron, 391–393
point to triangle (2D), 196–211
point to triangle (3D), 376–382
See also distance algorithms
(2D); distance algorithms
(3D)
point in convex polygon, 697–700
algorithm, 697–698
asymptotically faster method 1,
698–699
asymptotically faster method 2,
699–700
bisection implementation, 698
bottom half of polygon, 699
polygon edges, 697
polygon vertices, 699
sidedness tests, 697
test determining two edges
intersected by vertical line, 700
top half of polygon, 699
point in convex polyhedron,
709–711
algorithm, 709
asymptotically faster method,
709–711
defined, 709
planar meshes, 710
preprocessing, 710
point in general polygon, 700–706
defined, 700
faster, 706–707
test illustration, 701
point in general polyhedron,
711–714
configurations, 711–712
defined, 711
pseudocode, 713
point in polygon, 695–708
convex polygon, 697–700
defined, 695
general polygon, 700–706
general polygon (faster),
706–707
grid method, 707–708
sublinear tests, 706
test by counting intersections,
701
triangle, 695–697
point in polyhedron, 708–714
convex polyhedron, 709–711
general polyhedron, 711–714
tetrahedron, 708–709
point in tetrahedron, 708–709
barycentric coordinates, 708
defined, 708
point in triangle, 695–697
clockwise-ordered vertices,
696
collinear vertices, 696–697
counterclockwise-ordered
vertices, 695–696
needlelike triangle, 697
noncollinear vertices, 695
sidedness tests, 697
point subtraction
definition of, 81
matrix representation, 115
point tags, 705
point-to-triangle distance, 196–211
closest point illustration, 197
edge-to-interior search for
closest point, 205–211
edge-to-interior search time
analysis, 211
interior-to-edge search for
closest point, 198
interior-to-edge search time
analysis, 205
See also point distance
point-in-circle tests, 810
point-in-polygon problem, 490
point-in-polytope query, 344
points, 80
2D, fitting circle to, 886–887
2D, fitting quadratic curve to,
888–889
2D, transforming, 10
3D, fitting quadric surface to,
889
3D, fitting sphere to, 887–888
adding, 10
affine combination of, 83, 85
affinely independent, 106
circle through, 285, 286
classifying, 703
cocircular, 5
collinear, 5
construction on plane, 327
coordinates, transforming, 10
coplanar, 5
critical, 899, 900
cylinder surface, 646–647
defining plane, 670
end, 367, 379
equation representation, 13
hyperplanar fitting of, 884–885
inflection, 900
intersection, 5
line equidistant to, 317–318
linear fitting of, 882–884
math notation, 15
matrix representation of,
110–113
multiplicative operations on, 80
noncoincident, 385
noncollinear, 385
on acute cone, 515
perspective projection for,
164–165
planar fitting of, 884
in plane/cone intersection, 565
in plane/cylinder intersection,
552
in polygon using BSP trees,
683–684
in polyhedron using BSP trees,
691
projection, 163
projection onto plane, 663–664