polynomial concepts

This commit is contained in:
Monique Teillaud 2006-09-14 12:48:45 +00:00
parent 2299b9a550
commit c702d80914
7 changed files with 180 additions and 2 deletions

View File

@ -32,11 +32,11 @@ of degree up to~1.}
polynomials of degree up to~2 that can store equations of spheres.}
\ccNestedType{Polynomials_for_lines_3}{A model of
\ccc{AlgebraicKernelForSpheres::Polynomials_for_lines_3}, for systems of
\ccc{AlgebraicKernelForSpheres::PolynomialsForLines_3}, for systems of
polynomials that can store equations of lines in 3D.}
\ccGlue
\ccNestedType{Polynomials_for_circles_3}{A model of
\ccc{AlgebraicKernelForSpheres::Polynomials_for_circles_3}, for systems of
\ccc{AlgebraicKernelForSpheres::PolynomialsForCircles_3}, for systems of
polynomials that can store equations of circles in 3D.}
\ccNestedType{Root_of_2}{A model of

View File

@ -0,0 +1,46 @@
\begin{ccRefConcept}{AlgebraicKernelForSpheres::PolynomialForSpheres_2_3}
\ccDefinition
Concept to represent
bivariate polynomials of degree up to~2 capable of storing equations
of spheres, whose center's coordinates, as well as the square of the radius,
are of a type that is a model of the concept
\ccc{FieldNumberType}.
%\footnote{Of course the name looks bad since it mixes geometry with algebra.
%suggestions welcome}
\ccRefines
CopyConstructible, Assignable, DefaultConstructible
\ccCreation
\ccCreationVariable{pol}
%\ccConstructor{PolynomialForSpheres_2_2(const FT & a, const FT & b, const FT & rsq);}{Constructs polynomial \ccc{(x-a)^2 + (y-b)^2 - rsq}.}
%\ccAccessFunctions
%\ccMethod{const FT & a();}{\ccc{x}-coordinate of the center of the sphere.}
%\ccGlue
%\ccMethod{const FT & b();}{\ccc{y}-coordinate of the center of the sphere.}
%\ccGlue
%\ccMethod{const FT & r_sq();}{Square radius of the center of the sphere.}
\ccOperations
The comparison operator \ccc{==} must be provided.
\ccFunction{bool operator ==
(AlgebraicKernelForSpheres::const PolynomialForSpheres_2_3 & p,
const AlgebraicKernelForSpheres::PolynomialForSpheres_2_3 & q);}{}
\ccHasModels
\ccc{CGAL::Polynomial_for_spheres_2_3}
\ccSeeAlso
\ccRefIdfierPage{AlgebraicKernelForSpheres}
\end{ccRefConcept}

View File

@ -0,0 +1,31 @@
\begin{ccRefConcept}{AlgebraicKernelForSpheres::Polynomial_1_3}
\ccDefinition
Concept to represent bivariate polynomials of degree 1 whose
coefficients are of a type that is a model of the concept
\ccc{RingNumberType}.
\ccRefines
CopyConstructible, Assignable, DefaultConstructible
%\ccAccessFunctions
%\ccFunction{const RT & a() const;}{}
%\ccGlue
%\ccOperations
%The comparison operator \ccc{==} must be provided.
% also proportional polynomials
\ccHasModels
\ccc{CGAL::Polynomial_1_3}
\ccSeeAlso
\ccRefIdfierPage{AlgebraicKernelForSpheres}
\end{ccRefConcept}

View File

@ -0,0 +1,30 @@
\begin{ccRefConcept}{AlgebraicKernelForSpheres::PolynomialsForCircles_3}
\ccDefinition
Concept to represent a system of polynomials on \ccc{FieldNumberType},
capable of storing equations of circles.
\ccRefines
CopyConstructible, Assignable, DefaultConstructible
%\ccAccessFunctions
%\ccFunction{const RT & a() const;}{}
%\ccGlue
%\ccOperations
%The comparison operator \ccc{==} must be provided.
% also proportional polynomials
\ccHasModels
\ccc{CGAL::Polynomials_for_circles_3}
\ccSeeAlso
\ccRefIdfierPage{AlgebraicKernelForSpheres}
\end{ccRefConcept}

View File

@ -0,0 +1,30 @@
\begin{ccRefConcept}{AlgebraicKernelForSpheres::PolynomialsForLines_3}
\ccDefinition
Concept to represent a system of polynomials on \ccc{FieldNumberType},
capable of storing equations of lines.
\ccRefines
CopyConstructible, Assignable, DefaultConstructible
%\ccAccessFunctions
%\ccFunction{const RT & a() const;}{}
%\ccGlue
%\ccOperations
%The comparison operator \ccc{==} must be provided.
% also proportional polynomials
\ccHasModels
\ccc{CGAL::Polynomials_for_lines_3}
\ccSeeAlso
\ccRefIdfierPage{AlgebraicKernelForSpheres}
\end{ccRefConcept}

View File

@ -33,6 +33,26 @@
\subsubsection*{Functors}
\ccRefConceptPage{AlgebraicKernelForCircles::ConstructPolynomial_1_3}\\
\ccRefConceptPage{AlgebraicKernelForCircles::ConstructPolynomialForSpheres_2_3}
\ccRefConceptPage{AlgebraicKernelForCircles::ConstructPolynomials_for_lines_3}\\
\ccRefConceptPage{AlgebraicKernelForCircles::ConstructPolynomialsForCircles_2}
\ccRefConceptPage{AlgebraicKernelForSpheres::CompareX}\\
\ccRefConceptPage{AlgebraicKernelForSpheres::CompareY}\\
\ccRefConceptPage{AlgebraicKernelForSpheres::CompareZ}\\
\ccRefConceptPage{AlgebraicKernelForSpheres::CompareXY}\\
\ccRefConceptPage{AlgebraicKernelForSpheres::CompareXYZ}
\ccRefConceptPage{AlgebraicKernelForSpheres::SignAt}
\ccRefConceptPage{AlgebraicKernelForSpheres::XCriticalPoints}\\
\ccRefConceptPage{AlgebraicKernelForSpheres::YCriticalPoints}\\
\ccRefConceptPage{AlgebraicKernelForSpheres::ZCriticalPoints}
\ccRefConceptPage{AlgebraicKernelForSpheres::Solve}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Geometric Kernels and Classes}
@ -49,6 +69,19 @@
\subsubsection*{Kernel}
\ccRefIdfierPage{CGAL::Algebraic_kernel_for_spheres_2_3<RT>}
\subsubsection*{Polynomials}
\ccRefIdfierPage{CGAL::Polynomial_1_3<FT>}\\
\ccRefIdfierPage{CGAL::Polynomial_for_spheres_2_3<FT>}
\ccRefIdfierPage{CGAL::Polynomials_for_lines_3<FT>}\\
\ccRefIdfierPage{CGAL::Polynomials_for_circles_3<FT>}
\subsubsection*{Roots of Polynomials}
\ccRefIdfierPage{CGAL::Root_of_2<RT>}\\
\ccRefIdfierPage{CGAL::Root_for_spheres_2_3<RT>}
\ccRefIdfierPage{CGAL::Root_of_traits_2<RT>}

View File

@ -26,5 +26,13 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% algebraic objects
\input{Circular_kernel_3_ref/Polynomial_1}
\input{Circular_kernel_3_ref/PolynomialForSpheres_2_3}
\input{Circular_kernel_3_ref/PolynomialsForLines_3}
\input{Circular_kernel_3_ref/PolynomialsForCircles_3}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% algebraic functors