Laurent's remark: passing the traits as parameter of constructors

This commit is contained in:
Camille Wormser 2009-05-13 22:47:29 +00:00
parent 075911ec75
commit aa101e0caf
2 changed files with 4 additions and 2 deletions

View File

@ -45,6 +45,8 @@ The template parameter \ccc{GeomTraits} provides the geometric types as well as
\ccCreation
\ccCreationVariable{traits}
\ccConstructor{AABB_traits(GeomTraits gt = GeomTraits());}{Default constructor.}
\ccSeeAlso
\ccc{AABBTraits},\\

View File

@ -51,10 +51,10 @@ Class \ccRefName\ is a static data structure for efficient intersection and dist
\ccCreation
\ccCreationVariable{tree} %% variable name
\ccConstructor{AABB_tree();}{Constructs an empty tree.}
\ccConstructor{AABB_tree(AT at = AT());}{Constructs an empty tree.}
\ccConstructor{template < class InputIterator>
AABB_tree( InputIterator begin,
InputIterator beyond);}
InputIterator beyond, AT at = AT());}
{Builds the AABB tree data structure. Type \ccc{InputIterator} can be any const iterator such that \ccc{Primitive} has a constructor taking a \ccc{InputIterator} as argument. The tree stays empty if the memory allocation is not successful.}
\ccOperations