graph_to_eps mission accomplished.
- lemon/graph_to_eps.h header created
- lemon/bezier.h: Tools to compute with bezier curves (unclean and undocumented
interface, used internally by graph_to_eps.h)
- demo/graph_to_eps_demo.cc: a simple demo for lemon/graph_to_eps.h
10 template <typename _Item, typename _Next>
18 _AddNode(const Item& _item, const Next& _next)
19 : item(_item), next(_next) {}
27 template <typename _List = _EmptyList>
33 _Writer(const List& _list = List()) : list(_list) {}
36 template <typename Item> _Writer<_AddNode<Item, List> > add(Item item) const {
37 return _Writer<_AddNode<Item, List> >(_AddNode<Item, List>(item, list));
47 typedef _Writer<> Writer;
50 Writer().add(3).add("alpha").add(4.53).write();