From: tgdwyer Date: Mon, 13 Feb 2006 05:17:03 +0000 (+0000) Subject: Make our own simple_point X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5316077e5a7e96dec7b6e5a7982e351c04f3cddc;p=inkscape.git Make our own simple_point --- diff --git a/src/graphlayout/graphlayout.cpp b/src/graphlayout/graphlayout.cpp index 7ece03600..e6b0173f8 100644 --- a/src/graphlayout/graphlayout.cpp +++ b/src/graphlayout/graphlayout.cpp @@ -23,7 +23,7 @@ #include #include #include -#include +//#include #include #include #include @@ -31,12 +31,17 @@ #include using namespace boost; + +struct simple_point { + double x; + double y; +}; // create a typedef for the Graph type typedef adjacency_list > Graph; typedef property_map::type WeightMap; typedef graph_traits::vertex_descriptor Vertex; -typedef std::vector > PositionVec; +typedef std::vector PositionVec; typedef iterator_property_map::type> PositionMap; bool isConnector(SPItem *i) {