PINE LIBRARY

Vector2FunctionClip

2282
Library "Vector2FunctionClip"
Sutherland-Hodgman polygon clipping algorithm.
reference:
.
rosettacode.org/wiki/Sutherland-Hodgman_polygon_clipping
.

clip(source, reference)
  Perform Clip operation on a vector with another.
  Parameters:
    source: array<Vector2> . Source polygon to be clipped.
    reference: array<Vector2> . Reference polygon to clip source.
  Returns: array<Vector2>.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.