mirror of https://github.com/CGAL/cgal
fix documented return type of intersection() for dD linear kernel
This commit is contained in:
parent
c46a064653
commit
76e7e9a209
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue