Public Types | Static Public Member Functions | List of all members
boost::polygon::point_traits< dcel2d::Point > Struct Template Reference

Public Types

typedef int coordinate_type
 

Static Public Member Functions

static coordinate_type get (const dcel2d::Point &point, orientation_2d orient)
 

Detailed Description

template<>
struct boost::polygon::point_traits< dcel2d::Point >

Definition at line 34 of file Voronoi.cxx.

Member Typedef Documentation

typedef int boost::polygon::point_traits< dcel2d::Point >::coordinate_type

Definition at line 36 of file Voronoi.cxx.

Member Function Documentation

static coordinate_type boost::polygon::point_traits< dcel2d::Point >::get ( const dcel2d::Point point,
orientation_2d  orient 
)
inlinestatic

Definition at line 38 of file Voronoi.cxx.

39  {
40  return (orient == HORIZONTAL) ? std::get<1>(point) : std::get<0>(point);
41  }

The documentation for this struct was generated from the following file: