Subject: [geometry] Interesection points
From: Hunk (heiko.hoennige_at_[hidden])
Date: 2013-08-13 03:25:15
i am trying to get one intersection point between line polygon or line line,
typedef model::d2::point_xy<double> point;
typedef model::ring< point > ring;
typedef model::polygon< point > polygon;
typedef model::linestring< point > linestring;
"POLYGON((0 0,1 0, 1 1,0 1))", green);
boost::geometry::read_wkt("LINESTRING(0.5 -1,0.5 0.5)", ls);
boost::geometry::intersection(green, blue, intersections);
but it is not working. I only want the point which is on the border.
Anyone has an idea for that ?
thank you for help. I am really new on boost.
-- View this message in context: http://boost-geometry.203548.n3.nabble.com/Interesection-points-tp4025495.html Sent from the Boost Geometry mailing list archive at Nabble.com.
Geometry list run by mateusz at loskot.net