Limbo 3.5.4
Loading...
Searching...
No Matches
limbo::geometry::rectangle_traits< bLib::bBox > Struct Reference

specialization of limbo::geometry::rectangle_traits for bLib::bBox More...

#include <bLibApi.h>

Public Types

typedef bLib::bBox rectangle_type
typedef int coordinate_type

Static Public Member Functions

static coordinate_type get (const rectangle_type &rect, direction_2d const &dir)
 get coordinate from rectangle
static void set (rectangle_type &rect, direction_2d const &dir, coordinate_type const &value)
 set coordinate for rectangle
static rectangle_type construct (coordinate_type const &xl, coordinate_type const &yl, coordinate_type const &xh, coordinate_type const &yh)
 construct rectangle from coordinates

Detailed Description

specialization of limbo::geometry::rectangle_traits for bLib::bBox

Definition at line 64 of file bLibApi.h.

Member Typedef Documentation

◆ coordinate_type

typedef int limbo::geometry::rectangle_traits< bLib::bBox >::coordinate_type

Definition at line 68 of file bLibApi.h.

◆ rectangle_type

typedef bLib::bBox limbo::geometry::rectangle_traits< bLib::bBox >::rectangle_type

Definition at line 67 of file bLibApi.h.

Member Function Documentation

◆ construct()

rectangle_type limbo::geometry::rectangle_traits< bLib::bBox >::construct ( coordinate_type const & xl,
coordinate_type const & yl,
coordinate_type const & xh,
coordinate_type const & yh )
inlinestatic

construct rectangle from coordinates

Parameters
xl,yl,xh,yhcoordinates
Returns
rectangle object

Definition at line 104 of file bLibApi.h.

◆ get()

coordinate_type limbo::geometry::rectangle_traits< bLib::bBox >::get ( const rectangle_type & rect,
direction_2d const & dir )
inlinestatic

get coordinate from rectangle

Parameters
recta rectangle object
dirdirection
Returns
coordinate

Definition at line 75 of file bLibApi.h.

◆ set()

void limbo::geometry::rectangle_traits< bLib::bBox >::set ( rectangle_type & rect,
direction_2d const & dir,
coordinate_type const & value )
inlinestatic

set coordinate for rectangle

Parameters
recta rectangle object
dirdirection
valuecoordinate

Definition at line 90 of file bLibApi.h.


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