Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
test_p2r.cpp File Reference
#include <iostream>
#include <vector>
#include <list>
#include <set>
#include <limbo/geometry/Polygon2Rectangle.h>

Go to the source code of this file.

Classes

struct  Point
 a custom point class More...
 
struct  limbo::geometry::point_traits< Point >
 if your point class setting is different from that in the default point_traits, please create a specialization More...
 
struct  Rectangle
 a custom rectangle class More...
 
struct  limbo::geometry::rectangle_traits< Rectangle >
 if your rectangle class setting is different from that in the default point_traits, please create a specialization More...
 

Namespaces

 limbo
 namespace for Limbo
 
 limbo::geometry
 namespace for Limbo.Geometry
 

Functions

void test1 (string const &filename)
 test polygon-to-rectangle for std::vector 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...
 
int main (int argc, char **argv)
 main function requires an input benchmark in gnuplot format More...
 

Detailed Description

Author
Yibo Lin
Date
Oct 2014

Definition in file test_p2r.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

main function requires an input benchmark in gnuplot format

Parameters
argcnumber of arguments
argvvalues of arguments
Returns
0

Definition at line 274 of file test_p2r.cpp.

void test1 ( string const &  filename)

test polygon-to-rectangle for std::vector

Parameters
filenameinput gnuplot file

Definition at line 233 of file test_p2r.cpp.

void test2 ( string const &  filename)

test polygon-to-rectangle for std::list

Parameters
filenameinput gnuplot file

Definition at line 246 of file test_p2r.cpp.

void test3 ( string const &  filename)

test polygon-to-rectangle for std::set

Parameters
filenameinput gnuplot file

Definition at line 259 of file test_p2r.cpp.