From: tgdwyer Date: Mon, 13 Feb 2006 05:32:36 +0000 (+0000) Subject: using libavoid/geomtypes.h X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7d29d3cc366b35b9d9f04b415ddd5d693d5160b7;p=inkscape.git using libavoid/geomtypes.h --- diff --git a/src/graphlayout/graphlayout.cpp b/src/graphlayout/graphlayout.cpp index e6b0173f8..77452aff2 100644 --- a/src/graphlayout/graphlayout.cpp +++ b/src/graphlayout/graphlayout.cpp @@ -20,10 +20,10 @@ #include "sp-conn-end-pair.h" #include "conn-avoid-ref.h" #include "libavoid/connector.h" +#include "libavoid/geomtypes.h" #include #include #include -//#include #include #include #include @@ -32,16 +32,12 @@ 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) {