MCPcopy Create free account
hub / github.com/AngusJohnson/Clipper2 / Split

Method Split

CPP/Clipper2Lib/src/clipper.engine.cpp:2796–2810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2794 }
2795
2796 void ClipperBase::Split(Active& e, const Point64& pt)
2797 {
2798 if (e.join_with == JoinWith::Right)
2799 {
2800 e.join_with = JoinWith::NoJoin;
2801 e.next_in_ael->join_with = JoinWith::NoJoin;
2802 AddLocalMinPoly(e, *e.next_in_ael, pt, true);
2803 }
2804 else
2805 {
2806 e.join_with = JoinWith::NoJoin;
2807 e.prev_in_ael->join_with = JoinWith::NoJoin;
2808 AddLocalMinPoly(*e.prev_in_ael, e, pt, true);
2809 }
2810 }
2811
2812 void ClipperBase::CheckJoinLeft(Active& e,
2813 const Point64& pt, bool check_curr_x)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected