CGAL 4.7 - dD Geometry Kernel
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Kernel_d::Contained_in_simplex_d Concept Reference

Definition

Operations

A model of this concept must provide:

template<class ForwardIterator >
Bounded_side operator() (ForwardIterator first, ForwardIterator last, const Kernel_d::Point_d &p)
 determines whether p is contained in the simplex of the points in A = tuple [first,last). More...
 

Member Function Documentation

template<class ForwardIterator >
Bounded_side Kernel_d::Contained_in_simplex_d::operator() ( ForwardIterator  first,
ForwardIterator  last,
const Kernel_d::Point_d p 
)

determines whether p is contained in the simplex of the points in A = tuple [first,last).

Precondition
The objects in A are of the same dimension and affinely independent.
Requires:
The value type of ForwardIterator is Kernel_d::Point_d.