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

Function GetPosition

renderers/agg/src/clipper.cpp:389–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387//------------------------------------------------------------------------------
388
389Position GetPosition(const IntPoint pt1, const IntPoint pt2, const IntPoint pt)
390{
391 if (PointsEqual(pt1, pt)) return pFirst;
392 else if (PointsEqual(pt2, pt)) return pSecond;
393 else return pMiddle;
394}
395//------------------------------------------------------------------------------
396
397bool Pt3IsBetweenPt1AndPt2(const IntPoint pt1,

Callers 1

JoinCommonEdgesMethod · 0.85

Calls 1

PointsEqualFunction · 0.85

Tested by

no test coverage detected