Limbo 3.5.4
Loading...
Searching...
No Matches
limbo::geometry::point_traits< boost::polygon::point_data< T > > Struct Template Reference

specialization of limbo::geometry::point_traits for boost::polygon::point_data More...

#include <BoostPolygonApi.h>

Public Types

typedef T coordinate_type
typedef boost::polygon::point_data< T > point_type

Static Public Member Functions

static coordinate_type get (const point_type &point, orientation_2d const &orient)
 get coordinate from point
static void set (point_type &point, orientation_2d const &orient, coordinate_type const &value)
 set coordinate for point
static point_type construct (coordinate_type const &x, coordinate_type const &y)
 construct point from coordinates

Detailed Description

template<typename T>
struct limbo::geometry::point_traits< boost::polygon::point_data< T > >

specialization of limbo::geometry::point_traits for boost::polygon::point_data

Definition at line 25 of file BoostPolygonApi.h.

Member Typedef Documentation

◆ coordinate_type

template<typename T>
typedef T limbo::geometry::point_traits< boost::polygon::point_data< T > >::coordinate_type

Definition at line 28 of file BoostPolygonApi.h.

◆ point_type

template<typename T>
typedef boost::polygon::point_data<T> limbo::geometry::point_traits< boost::polygon::point_data< T > >::point_type

Definition at line 29 of file BoostPolygonApi.h.

Member Function Documentation

◆ construct()

template<typename T>
point_type limbo::geometry::point_traits< boost::polygon::point_data< T > >::construct ( coordinate_type const & x,
coordinate_type const & y )
inlinestatic

construct point from coordinates

Parameters
xcoordinate
ycoordinate
Returns
point object

Definition at line 63 of file BoostPolygonApi.h.

◆ get()

template<typename T>
coordinate_type limbo::geometry::point_traits< boost::polygon::point_data< T > >::get ( const point_type & point,
orientation_2d const & orient )
inlinestatic

get coordinate from point

Parameters
pointa point object
orientorientation
Returns
coordinate

Definition at line 36 of file BoostPolygonApi.h.

◆ set()

template<typename T>
void limbo::geometry::point_traits< boost::polygon::point_data< T > >::set ( point_type & point,
orientation_2d const & orient,
coordinate_type const & value )
inlinestatic

set coordinate for point

Parameters
pointa point object
orientorientation
valuecoordinate value

Definition at line 50 of file BoostPolygonApi.h.


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