mirror of https://github.com/CGAL/cgal
Laurent's remark: passing the traits as parameter of constructors
This commit is contained in:
parent
075911ec75
commit
aa101e0caf
|
|
@ -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},\\
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue