constructor Circle_3(3 points) added

This commit is contained in:
Monique Teillaud 2008-09-09 11:47:49 +00:00
parent 9981f861a0
commit f72028b2c2
2 changed files with 13 additions and 0 deletions

View File

@ -33,6 +33,12 @@ circle can be degenerate, i.e.\ the squared radius may be zero.
the vector \ccc{n}.
\ccPrecond{\ccc{sq_r} $\geq$ 0.}}
\ccConstructor{Circle_3(Point_3<Kernel> const& p,
Point_3<Kernel> const& q, Point_3<Kernel> const& r);}
{introduces a variable \ccVar\ of type \ccClassTemplateName.
It is initialized to the circle passing through the three points.
\ccPrecond{The three points are not collinear.}}
\ccConstructor{Circle_3(Sphere_3<Kernel> const& sphere1,
Sphere_3<Kernel> const& sphere2);}
{introduces a variable \ccVar\ of type \ccClassTemplateName.

View File

@ -29,6 +29,13 @@ A model for this must provide:
containing \ccc{center} and normal to \ccc{n}.
\ccPrecond{\ccc{sq_r} $\geq$ 0.}}
\ccMemberFunction{Kernel::Circle_3 operator()
( Kernel::Point_3 const& p,
Kernel::Point_3 const& q,
Kernel::Point_3 const& r);}
{introduces a variable of type \ccc{Kernel::Point_3}.
It is initialized to the circle passing through the three points.
\ccPrecond{The three points are not collinear.}}
\ccMemberFunction{Kernel::Circle_3 operator()
( Kernel::Sphere_3 const& sphere1,