Limbo 3.5.4
Loading...
Searching...
No Matches
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

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

Functions

void test1 (string const &filename)
 test polygon-to-rectangle for std::vector
void test2 (string const &filename)
 test polygon-to-rectangle for std::list
void test3 (string const &filename)
 test polygon-to-rectangle for std::set
int main (int argc, char **argv)
 main function requires an input benchmark in gnuplot format

Detailed Description

Author
Yibo Lin
Date
Oct 2014

Definition in file test_p2r.cpp.

Function Documentation

◆ main()

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.

◆ test1()

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.

◆ test2()

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.

◆ test3()

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.