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

Method AddJoin

renderers/agg/src/clipper.cpp:1009–1021  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1007//------------------------------------------------------------------------------
1008
1009void Clipper::AddJoin(TEdge *e1, TEdge *e2, int e1OutIdx)
1010{
1011 JoinRec* jr = new JoinRec;
1012 if (e1OutIdx >= 0)
1013 jr->poly1Idx = e1OutIdx; else
1014 jr->poly1Idx = e1->outIdx;
1015 jr->pt1a = IntPoint(e1->xbot, e1->ybot);
1016 jr->pt1b = IntPoint(e1->xtop, e1->ytop);
1017 jr->poly2Idx = e2->outIdx;
1018 jr->pt2a = IntPoint(e2->xbot, e2->ybot);
1019 jr->pt2b = IntPoint(e2->xtop, e2->ytop);
1020 m_Joins.push_back(jr);
1021}
1022//------------------------------------------------------------------------------
1023
1024void Clipper::ClearJoins()

Callers

nothing calls this directly

Calls 2

IntPointClass · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected