- Change Construct_direction_of_line_3 to the non-deprecated

Construct_direction_3.
This commit is contained in:
Sylvain Pion 2003-01-15 10:37:24 +00:00
parent e38250389d
commit 8a2d9febac
5 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,7 @@
Version 1.127 (?? Jan 03)
- Change Construct_direction_of_line_3 to the non-deprecated
Construct_direction_3.
Version 1.126 (14 Jan 03)
- Fix documentation.
- Add new test code.

View File

@ -86,7 +86,7 @@ that must provide the operator\\
that constructs the line perpendicular to \ccc{pl} and passing through
\ccc{p}.}
\ccGlue
\ccNestedType{Construct_direction_of_line_3}{A constructor object
\ccNestedType{Construct_direction_3}{A constructor object
that must provide the operator\\
\ccc{Direction_3 operator()(Line_3 l)} that constructs the oriented
direction of \ccc{l}.}
@ -127,7 +127,7 @@ are instantiated:
\ccGlue
\ccMethod{Construct_plane_3 construct_plane_3_object();}{}
\ccGlue
\ccMethod{Construct_direction_of_line_3 construct_direction_of_line_3_object();}{}
\ccMethod{Construct_direction_3 construct_direction_3_object();}{}
\ccGlue
\ccMethod{Construct_ray_3 construct_ray_3_object();}{}
\ccGlue

View File

@ -86,7 +86,7 @@ that must provide the operator\\
that constructs the line perpendicular to \ccc{pl} and passing through
\ccc{p}.}
\ccGlue
\ccNestedType{Construct_direction_of_line_3}{A constructor object
\ccNestedType{Construct_direction_3}{A constructor object
that must provide the operator\\
\ccc{Direction_3 operator()(Line_3 l)} that constructs the oriented
direction of \ccc{l}.}
@ -127,7 +127,7 @@ are instantiated:
\ccGlue
\ccMethod{Construct_plane_3 construct_plane_3_object();}{}
\ccGlue
\ccMethod{Construct_direction_of_line_3 construct_direction_of_line_3_object();}{}
\ccMethod{Construct_direction_3 construct_direction_3_object();}{}
\ccGlue
\ccMethod{Construct_ray_3 construct_ray_3_object();}{}
\ccGlue

View File

@ -129,9 +129,9 @@ protected:
}
Direction
construct_direction_of_line(const Line &l) const
construct_direction(const Line &l) const
{
return geom_traits().construct_direction_of_line_3_object()(l);
return geom_traits().construct_direction_3_object()(l);
}
Ray
@ -972,7 +972,7 @@ dual(Cell_handle c, int i) const
Line l = construct_perpendicular_line( construct_plane(p,q,r),
construct_circumcenter(p,q,r) );
return construct_object(construct_ray( dual(n),
construct_direction_of_line(l)));
construct_direction(l)));
}
template < class Gt, class Tds >

View File

@ -25,6 +25,7 @@ CXXFLAGS = \
$(TESTSUITE_CXXFLAGS) \
-W -Wall \
-DCGAL_CHECK_EXPENSIVE \
-DCGAL_NO_DEPRECATED_CODE \
-g
# -I../../../Triangulation_2/include \