mirror of https://github.com/CGAL/cgal
inline the nested class Intersection_and_primitive_id in the documentation
This commit is contained in:
parent
c2fc43a8df
commit
ddda698034
|
|
@ -58,13 +58,14 @@ typedef std::pair<Point_3, Primitive::Id> Point_and_primitive_id;
|
||||||
typedef std::pair<Object, Primitive::Id> Object_and_primitive_id;
|
typedef std::pair<Object, Primitive::Id> Object_and_primitive_id;
|
||||||
|
|
||||||
|
|
||||||
/*! A nested class template providing as a pair the intersection result of a `Query` object
|
/*!
|
||||||
|
A nested class template providing as a pair the intersection result of a `Query` object
|
||||||
and a `Primitive::Datum`, together with the `Primitive::Id` of the primitive intersected.
|
and a `Primitive::Datum`, together with the `Primitive::Id` of the primitive intersected.
|
||||||
The type of the pair is given by the nested type `Type`.
|
The type of the pair is `%Intersection_and_primitive_id<Query>::%Type`.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
template <typename Query>
|
template <typename Query>
|
||||||
struct Intersection_and_primitive_id{};
|
using Intersection_and_primitive_id = unspecified_type;
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -91,12 +91,17 @@ namespace CGAL {
|
||||||
typedef typename AABBTraits::Object_and_primitive_id Object_and_primitive_id;
|
typedef typename AABBTraits::Object_and_primitive_id Object_and_primitive_id;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
An alias to AABBTraits::Interesction_and_primitive_id
|
An alias to `AABBTraits::Intersection_and_primitive_id<Query>`
|
||||||
*/
|
*/
|
||||||
|
#ifdef DOXYGEN_RUNNING
|
||||||
|
template<typename Query>
|
||||||
|
using Intersection_and_primitive_id = AABBTraits::Intersection_and_primitive_id<Query>;
|
||||||
|
#else
|
||||||
template<typename Query>
|
template<typename Query>
|
||||||
struct Intersection_and_primitive_id {
|
struct Intersection_and_primitive_id {
|
||||||
typedef typename AABBTraits::template Intersection_and_primitive_id<Query>::Type Type;
|
typedef typename AABBTraits::template Intersection_and_primitive_id<Query>::Type Type;
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
///@}
|
///@}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue