Navigation: Up, Table of Contents, Bibliography, Index, Title Page

CGAL::squared_radius

FT
squared_radius ( Point_2<R> p,
Point_2<R> q,
Point_2<R> r)
compute the squared radius of the circle passing through the points p, q, and r.
Precondition: p, q, and r are not collinear.

FT
squared_radius ( Point_3<R> p,
Point_3<R> q,
Point_3<R> r)
compute the squared radius of the sphere passing through the points p, q, and r and whose center is in the same plane as those three points.

FT
squared_radius ( Point_3<R> p,
Point_3<R> q,
Point_3<R> r,
Point_3<R> s)
compute the squared radius of the sphere passing through the points p, q, r and s.
Precondition: p, q, r and s are not coplanar.

See Also

CGAL::Circle_2<R>
CGAL::Sphere_3<R>


Next: x_equal
Navigation: Up, Table of Contents, Bibliography, Index, Title Page
www.cgal.org. Aug 13, 2001.