- Remove demo/Robustness/include/CGAL/kernel_to_kernel.h, as it's in CGAL.

This commit is contained in:
Sylvain Pion 2001-06-21 20:53:43 +00:00
parent f8f8dabd98
commit 21f35c92bc
2 changed files with 1 additions and 24 deletions

View File

@ -1,5 +1,6 @@
1.7 (?? June 2001)
- Get rid of #include <LEDA/rat_point.h>, and use Cartesian_converter<>.
- Remove demo/Robustness/include/CGAL/kernel_to_kernel.h, as it's in CGAL.
1.6 (20 June 2001)
- Update to new header style, and simplify code.

View File

@ -1,24 +0,0 @@
namespace CGAL {
template <class NumberType>
struct Cartesian_double_to_Homogeneous
{
typedef Point_2< Homogeneous< NumberType> > Point;
typedef Segment_2< Homogeneous< NumberType> > Segment;
Point
operator()( const Point_2<Cartesian<double> >& p)
{ return Point( NumberType(p.x()), NumberType(p.y()) ); }
Segment
operator()( const Segment_2<Cartesian<double> >& s)
{
return Segment( Point( NumberType(s.source().x()),
NumberType(s.source().y()) ),
Point( NumberType(s.target().x()),
NumberType(s.target().y()) ) );
}
};
} // namespace CGAL