fix documented return type of intersection() for dD linear kernel

This commit is contained in:
Sébastien Loriot 2013-04-16 09:38:26 +02:00
parent c46a064653
commit 76e7e9a209
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ bool do_intersect(Type1<R> obj1, Type2<R> obj2);
/*!
\ingroup PkgKernelDFunctions
returns the intersection between \f$ f1\f$ and \f$ f2\f$.
returns the intersection between `f1` and `f2`.
\pre The objects are of the same dimension.
@ -164,7 +164,7 @@ void foo(Segment_d<R> seg, Line_d<R> lin)
\sa <a HREF="http://www.boost.org/libs/utility/utility.htm#result_of">`cpp11::result_of`</a>
*/
Object intersection(Type1<R> f1, Type2<R> f2);
cpp11::result_of<R::Intersect_d(Type1<R>, Type2<R>)>::type intersection(Type1<R> f1, Type2<R> f2);
} /* namespace CGAL */

View File

@ -439,7 +439,7 @@ returns a `boost::optional< boost::variant< T... > >`
where `T...` is a list of all possible resulting geometric objects.
The exact result type of an intersection can be determined by using
`cpp11::result_of<Kernel::Intersect_d(Type1, Type2)>::type`
`cpp11::result_of<Kernel::Intersect_d(Type1, Type2)>::%type`
`where `Type1` and `Type2` are the types of the objects
used in the intersection query. See
<A HREF="http://www.boost.org/libs/utility/utility.htm#result_of">`cpp11::result_of`</A>