mirror of https://github.com/CGAL/cgal
default arg to tds constructor
This commit is contained in:
parent
acccab37ca
commit
6416b4a73b
|
|
@ -7,7 +7,7 @@ example delaunay does not execute properly
|
||||||
|
|
||||||
in Triangulation_data_structure :
|
in Triangulation_data_structure :
|
||||||
put a default value for dim in the constructor
|
put a default value for dim in the constructor
|
||||||
(does not work, I do not understand why).
|
(does not work, I do not understand why). OK done.
|
||||||
|
|
||||||
check that the perturbation scheme is independant of the order of insertion
|
check that the perturbation scheme is independant of the order of insertion
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ int main()
|
||||||
{
|
{
|
||||||
typedef CGAL::Triangulation_data_structure<CGAL::Dimension_tag<7> > TDS;
|
typedef CGAL::Triangulation_data_structure<CGAL::Dimension_tag<7> > TDS;
|
||||||
|
|
||||||
TDS S(0); // the argument is not taken into account. dimension is 7.
|
TDS S;
|
||||||
assert( 7 == S.ambient_dimension() );
|
assert( 7 == S.ambient_dimension() );
|
||||||
assert( -2 == S.current_dimension() );
|
assert( -2 == S.current_dimension() );
|
||||||
assert( S.is_valid() );
|
assert( S.is_valid() );
|
||||||
|
|
|
||||||
|
|
@ -147,7 +147,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Triangulation_data_structure( int dim) /* Concept */
|
Triangulation_data_structure( int dim=0) /* Concept */
|
||||||
: dmax_(get_ambient_dimension<Dimen>::value(dim)), dcur_(-2),
|
: dmax_(get_ambient_dimension<Dimen>::value(dim)), dcur_(-2),
|
||||||
vertices_(), full_cells_()
|
vertices_(), full_cells_()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue