Limbo 3.5.4
Loading...
Searching...
No Matches
limbo::geometry::point_traits< bLib::bPoint > Struct Reference

specialization of limbo::geometry::point_traits for bLib::bPoint More...

#include <bLibApi.h>

Public Types

typedef bLib::bPoint point_type
typedef int coordinate_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

specialization of limbo::geometry::point_traits for bLib::bPoint

Definition at line 25 of file bLibApi.h.

Member Typedef Documentation

◆ coordinate_type

typedef int limbo::geometry::point_traits< bLib::bPoint >::coordinate_type

Definition at line 29 of file bLibApi.h.

◆ point_type

typedef bLib::bPoint limbo::geometry::point_traits< bLib::bPoint >::point_type

Definition at line 28 of file bLibApi.h.

Member Function Documentation

◆ construct()

point_type limbo::geometry::point_traits< bLib::bPoint >::construct ( coordinate_type const & x,
coordinate_type const & y )
inlinestatic

construct point from coordinates

Parameters
xcoordinate
ycoordinate
Returns
point object

Definition at line 56 of file bLibApi.h.

◆ get()

coordinate_type limbo::geometry::point_traits< bLib::bPoint >::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 bLibApi.h.

◆ set()

void limbo::geometry::point_traits< bLib::bPoint >::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 46 of file bLibApi.h.


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