mirror of https://github.com/CGAL/cgal
typedef Epick_d::Dimension
This commit is contained in:
parent
5eaa931607
commit
ef14beca0d
|
|
@ -44,6 +44,7 @@ struct Cartesian_LA_base_d : public Dimension_base<Dim_>
|
|||
typedef Cartesian_tag Kernel_tag;
|
||||
typedef Dim_ Default_ambient_dimension;
|
||||
typedef Dim_ Max_ambient_dimension;
|
||||
typedef Dim_ Dimension;
|
||||
typedef LA_ LA;
|
||||
|
||||
typedef Vec_ LA_vector;
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ BOOST_PP_REPEAT_FROM_TO(1, 11, CODE, _ )
|
|||
return a.end();
|
||||
}
|
||||
static int size_of_vector(Vector const&a){
|
||||
return a.size();
|
||||
return (int)a.size();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -358,6 +358,9 @@ void test3(){
|
|||
template struct CGAL::Epick_d<CGAL::Dimension_tag<2> >;
|
||||
template struct CGAL::Epick_d<CGAL::Dimension_tag<3> >;
|
||||
template struct CGAL::Epick_d<CGAL::Dynamic_dimension_tag>;
|
||||
CGAL_static_assertion((boost::is_same<CGAL::Dimension_tag<2>,CGAL::Epick_d<CGAL::Dimension_tag<2> >::Dimension>::value));
|
||||
CGAL_static_assertion((boost::is_same<CGAL::Dimension_tag<3>,CGAL::Epick_d<CGAL::Dimension_tag<3> >::Dimension>::value));
|
||||
CGAL_static_assertion((boost::is_same<CGAL::Dynamic_dimension_tag,CGAL::Epick_d<CGAL::Dynamic_dimension_tag>::Dimension>::value));
|
||||
int main(){
|
||||
//Broken with Linear_base_d (output iterator)
|
||||
//test2<CGAL::Kernel_d_interface<KK> >();
|
||||
|
|
|
|||
Loading…
Reference in New Issue