MCPcopy Create free account
hub / github.com/MapServer/MapServer / PointIsVertex

Function PointIsVertex

renderers/agg/src/clipper.cpp:103–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101//------------------------------------------------------------------------------
102
103bool PointIsVertex(const IntPoint &pt, PolyPt *pp)
104{
105 PolyPt *pp2 = pp;
106 do
107 {
108 if (PointsEqual(pp2->pt, pt)) return true;
109 pp2 = pp2->next;
110 }
111 while (pp2 != pp);
112 return false;
113}
114//------------------------------------------------------------------------------
115
116bool PointInPolygon(const IntPoint &pt, PolyPt *pp)

Callers 1

JoinCommonEdgesMethod · 0.85

Calls 1

PointsEqualFunction · 0.85

Tested by

no test coverage detected