"Fossies" - the Fresh Open Source Software Archive

Member "doc_html/Convex_hull_3/classCGAL_1_1Extreme__points__traits__adapter__3.html" (8 Nov 2019, 16207 Bytes) of package /linux/misc/CGAL-5.0-doc_html.tar.xz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.

\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)

CGAL 5.0 - 3D Convex Hulls
CGAL::Extreme_points_traits_adapter_3< PointPropertyMap, Base_traits > Class Template Reference

#include <CGAL/Extreme_points_traits_adapter_3.h>

Definition

template<class PointPropertyMap, class Base_traits = Default>
class CGAL::Extreme_points_traits_adapter_3< PointPropertyMap, Base_traits >

The class Extreme_points_traits_adapter_3 serves as a traits class for the function extreme_points_3().

It permits the use of this function for accessing vertices, indices, or anything that can be used as key_type for PointPropertyMap.

Template Parameters
PointPropertyMapa model of ReadablePropertyMap with CGAL::Point_3 as value_type.
Base_traitsa model of ConvexHullTraits_3 and IsStronglyConvexTraits_3. If the kernel R of the points from PointPropertyMap is a kernel with exact predicates but inexact constructions (in practice we check R::Has_filtered_predicates_tag is Tag_true and R::FT is a floating point type), then the default traits class used is Convex_hull_traits_3<R>, and R otherwise.
Is Model Of:

ConvexHullTraits_3

IsStronglyConvexTraits_3

Public Types

typedef boost::property_traits< PointPropertyMap >::key_type Point_3
 

Public Member Functions

 Extreme_points_traits_adapter_3 (const PointPropertyMap &pmap, Base_traits base=Base_traits())
 Constructor for the adapter. More...
 
boost::property_traits< PointPropertyMap >::reference get_point (const typename boost::property_traits< PointPropertyMap >::key_type &k) const
 

Constructor & Destructor Documentation

◆ Extreme_points_traits_adapter_3()

template<class PointPropertyMap , class Base_traits = Default>
CGAL::Extreme_points_traits_adapter_3< PointPropertyMap, Base_traits >::Extreme_points_traits_adapter_3 ( const PointPropertyMap &  pmap,
Base_traits  base = Base_traits() 
)

Constructor for the adapter.

It uses the functors from Base_traits with a call to get() for each argument.

Parameters
pmapthe propertymap used for retrieving the data.
basethe base ConvexHullTraits_3 used for extreme_points_3().

Member Function Documentation

◆ get_point()

template<class PointPropertyMap , class Base_traits = Default>
boost::property_traits<PointPropertyMap>::reference CGAL::Extreme_points_traits_adapter_3< PointPropertyMap, Base_traits >::get_point ( const typename boost::property_traits< PointPropertyMap >::key_type &  k) const
Returns
the CGAL::Point_3 associated with k