| 3346 | //---------------------------------------------------------------------- |
| 3347 | |
| 3348 | OutPt* DupOutPt(OutPt* outPt, bool InsertAfter) |
| 3349 | { |
| 3350 | OutPt* result = new OutPt; |
| 3351 | result->Pt = outPt->Pt; |
| 3352 | result->Idx = outPt->Idx; |
| 3353 | if (InsertAfter) |
| 3354 | { |
| 3355 | result->Next = outPt->Next; |
| 3356 | result->Prev = outPt; |
| 3357 | outPt->Next->Prev = result; |
| 3358 | outPt->Next = result; |
| 3359 | } |
| 3360 | else |
| 3361 | { |
| 3362 | result->Prev = outPt->Prev; |
| 3363 | result->Next = outPt; |
| 3364 | outPt->Prev->Next = result; |
| 3365 | outPt->Prev = result; |
| 3366 | } |
| 3367 | return result; |
| 3368 | } |
| 3369 | //------------------------------------------------------------------------------ |
| 3370 | |
| 3371 | bool JoinHorz(OutPt* op1, OutPt* op1b, OutPt* op2, OutPt* op2b, |
no outgoing calls
no test coverage detected