MCPcopy Create free account
hub / github.com/comaps/comaps / ForEachMiddlePoints

Method ForEachMiddlePoints

generator/feature_merger.hpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45 template <class ToDo>
46 void ForEachMiddlePoints(ToDo toDo) const
47 {
48 PointSeq const & poly = GetOuterGeometry();
49 for (size_t i = 1; i < poly.size() - 1; ++i)
50 toDo(poly[i]);
51 }
52
53 std::pair<m2::PointD, bool> GetKeyPoint(size_t i) const;
54 size_t GetKeyPointsCount() const;

Callers 2

operator()Method · 0.80
RemoveMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected