Limbo
|
#include <iostream>
#include <string>
#include <vector>
#include <list>
#include <set>
#include <boost/polygon/polygon.hpp>
#include <limbo/geometry/Polygon2Rectangle.h>
#include <limbo/geometry/api/BoostPolygonApi.h>
#include <limbo/geometry/api/GeoBoostPolygonApi.h>
Go to the source code of this file.
Functions | |
void | test1 (string const &filename) |
test Boost.Polygon API More... | |
void | test2 (string const &filename) |
test polygon-to-rectangle for std::list More... | |
void | test3 (string const &filename) |
test polygon-to-rectangle for std::set More... | |
void | test4 () |
test polygon-to-rectangle for array of points | |
int | main (int argc, char **argv) |
main function requires an input benchmark in gnuplot format More... | |
Definition in file test_boostpolygonapi.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
main function requires an input benchmark in gnuplot format
argc | number of arguments |
argv | values of arguments |
Definition at line 102 of file test_boostpolygonapi.cpp.
void test1 | ( | string const & | filename | ) |
test Boost.Polygon API
use boost::polygon::point and boost::polygon::rectangle_data as data type for polygon-to-rectangle conversion test polygon-to-rectangle for std::vector
filename | input gnuplot file |
Definition at line 36 of file test_boostpolygonapi.cpp.
void test2 | ( | string const & | filename | ) |
test polygon-to-rectangle for std::list
filename | input gnuplot file |
Definition at line 49 of file test_boostpolygonapi.cpp.
void test3 | ( | string const & | filename | ) |
test polygon-to-rectangle for std::set
filename | input gnuplot file |
Definition at line 62 of file test_boostpolygonapi.cpp.