Menu

Clipper processing of Horizontal Edges..+Front AddOutPt..

Ignorant
2020-11-03
2020-11-04
  • Ignorant

    Ignorant - 2020-11-03

    Angus,
    Good evening.
    I noticed you have started updating clipper..
    I have a old Query ...must be lost somewhere in the discussions.!
    in Horizontal edge sequence processing-->

    cInt horz_left, horz_right;
    bool is_left_to_right = ResetHorzDirection(horz, max_pair, horz_left, horz_right);
    if (IsHotEdge(horz)) AddOutPt(horz, PointI(horz.curr_x, horz.bot.y));

    while (true) {  //loops through consec. horizontal edges (if open)
        Active *e;
    
    
       I copied and pasted that code in my customized old clipper.I alwasy get duplicated vertices for closed input contours and odd/even parity,with the
    

    AddOutPt(..)
    Is it meant only for open polygons?. or other winding types.?

    Mahesh Naik
    mumbai (IST 18:04)
    
     

    Last edit: Ignorant 2020-11-03
  • Angus Johnson

    Angus Johnson - 2020-11-04

    HI again Mahesh. As I've explained to you a couple of times before, I really don't have the resources to explain to you the internals of Clipper. I'm sorry to disappoint you but I'm fully occupied just maintaining and updating the two of open source libraries that I have published here at sourceforge.

     
  • Ignorant

    Ignorant - 2020-11-04

    O.K.
    I understand .

    Can any developer of this wondeful vatti clipper be generous enough with parting the answer to my query.?.Having just the source code is NOT helping.

     

    Last edit: Ignorant 2020-11-04
  • Angus Johnson

    Angus Johnson - 2020-11-04

    Thanks. And I forgot to say I do appreciate your interest in Clipper. So I really am sorry I can't help you. Cheers.