// ====================================================================== // // Copyright (c) 1999 The CGAL Consortium // // This software and related documentation is part of an INTERNAL release // of the Computational Geometry Algorithms Library (CGAL). It is not // intended for general use. // // ---------------------------------------------------------------------- // // release : // release_date : // // file : basic_constructions_2.h // package : _2 // revision : $Revision$ // revision_date : $Date$ // author(s) : Sven Schoenherr // // coordinator : MPI, Saarbruecken () // ====================================================================== #ifndef CGAL_BASIC_CONSTRUCTIONS_2_H #define CGAL_BASIC_CONSTRUCTIONS_2_H #if defined CGAL_HOMOGENEOUS_H || defined CGAL_SIMPLE_HOMOGENEOUS_H #include #endif #if defined CGAL_CARTESIAN_H || defined CGAL_SIMPLE_CARTESIAN_H #include #endif CGAL_BEGIN_NAMESPACE template < class R > inline Point_2 midpoint( const Point_2& p, const Point_2& q ) { typedef typename R::Point_2_base RPoint_2; return( midpoint( static_cast(p), static_cast(q))); } template < class R > inline Point_2 circumcenter( const Point_2& p, const Point_2& q, const Point_2& r) { typedef typename R::Point_2_base RPoint_2; return( circumcenter( static_cast(p), static_cast(q), static_cast(r))); } CGAL_END_NAMESPACE #endif // CGAL_BASIC_CONSTRUCTIONS_2_H