Navigation: Up, Table of Contents, Bibliography, Index, Title Page

## CGAL::ch_w_point

### Definition

The function ch_w_point finds a point in a given set of input points with minimal x coordinate.

#include <CGAL/ch_selected_extreme_points_2.h>

template <class ForwardIterator>
void |
ch_w_point ( | ForwardIterator first, ForwardIterator beyond, ForwardIterator& w, Traits ch_traits = Default_traits)
|  | traverses the range [first,beyond). After execution, the value of w is an iterator in the range such that *w xy *it for all iterators it in the range.

### Requirements

Traits defines the type Traits::Less_xy_2 as specified in the concept ConvexHullTraits_2 and the corresponding member function that returns an instance of this type.

The default traits class Default_traits is the kernel in which the type ForwardIterator::value_type is defined.

### See Also

CGAL::ch_e_point
CGAL::ch_nswe_point
CGAL::ch_n_point
CGAL::ch_ns_point
CGAL::ch_s_point
CGAL::ch_we_point

Next: convex_hull_2

Navigation: Table of Contents, Bibliography, Index, Title Page

The CGAL Project . Tue, December 21, 2004 .