|
Limbo
|
if your point class setting is different from that in the default point_traits, please create a specialization More...
Public Types | |
| typedef Point | point_type |
| point type | |
| typedef int | coordinate_type |
| coordinate type | |
Static Public Member Functions | |
| static coordinate_type | get (const point_type &point, orientation_2d orient) |
| access coordinates More... | |
| static void | set (point_type &point, orientation_2d orient, coordinate_type value) |
| set coordinates More... | |
| static point_type | construct (coordinate_type x, coordinate_type y) |
| construct a point object More... | |
if your point class setting is different from that in the default point_traits, please create a specialization
The specialization should be in the same scope as the original template struct
Definition at line 60 of file test_p2r.cpp.
|
inlinestatic |
construct a point object
| x | x coordinate |
| y | y coordinate |
Definition at line 97 of file test_p2r.cpp.
|
inlinestatic |
access coordinates
| point | a data point |
| orient | orientation can be HORIZONTAL(x) or VERTICAL(y) |
Definition at line 73 of file test_p2r.cpp.
|
inlinestatic |
set coordinates
| point | a data point |
| orient | orientation can be HORIZONTAL(x) or VERTICAL(y) |
| value | data value |
Definition at line 85 of file test_p2r.cpp.
1.8.8