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

Function GetIntersectionScoreForPoints

libs/geometry/intersection_score.hpp:84–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82/// |lhs| and |rhs| are any standard containers of m2::Point with random access iterator.
83template <typename Container>
84double GetIntersectionScoreForPoints(Container const & lhs, Container const & rhs)
85{
86 return GetIntersectionScore<Container>(lhs, rhs, PointsToPolygon<Container>);
87}
88
89/// Throws NotAPolygonException exception.
90/// For detailed info see comment for

Callers 1

UNIT_TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

UNIT_TESTFunction · 0.68