Hey everyone,

I'm completely new to Perl along with this related open source program. If my question isn't appropriate, will delete immediately. The question I'm asking is what exactly is this function or import used for:

use Slic3r::Geometry::Clipper qw(offset diff union union_ex intersecti +on offset_ex offset2 intersection_pl offset2_ex diff_pl diff_ex);

Originally I thought this was a pathway since my goal is to see how the intersection, union, etc works and then can be changed. However searching through the git:

https://github.com/slic3r/Slic3r/search?p=2&q=intersection&unscoped_q=intersection

I can't seem to find it, or perhaps I'm not looking correctly? The answers I have received previously or the ones I have found, haven't shown me indication of how I could modify these functions.

https://github.com/slic3r/Slic3r/blob/master/xs/src/libslic3r/ClipperUtils.hpp

https://github.com/slic3r/Slic3r/blob/master/xs/xsp/Clipper.xsp

Any help would be great, thanks.

2019-02-25 Athanasius added paragraph tags and linkified links


In reply to Perl - Trying to understand intersection function by FriedSodaWarrior

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.