TradingView
RicardoSantos
22 กุมภา 2023 เวลา 15 นาฬิกา 54 นาที
Vector2FunctionClip
OANDA:NAS100USD
1M
US Nas 100
OANDA
คำอธิบาย
⋅
22 กุมภา 2023 เวลา 15 นาฬิกา 54 นาที
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>.
arrays
Market Geometry
MATH
library
udf
function
method
vector
polygon
clip
2d
ความคิดเห็น
KioseffTrading
⋅
22 กุมภา 2023 เวลา 16 นาฬิกา 57 นาที
BEAST
djmad
⋅
22 กุมภา 2023 เวลา 20 นาฬิกา 29 นาที
Are you trying to code a CAD system for Pinescript?
nice work!!!
RicardoSantos
⋅
23 กุมภา 2023 เวลา 11 นาฬิกา 34 นาที
@djmad
, nah, just a leftover toy code
m4rk3tm4k3r
⋅
3 พฤศจิกา 2023 เวลา 15 นาฬิกา 41 นาที
You are the best !
MillionYay
⋅
28 กุมภา 2023 เวลา 2 นาฬิกา 2 นาที
Amazing
slkmbnz37
⋅
22 กุมภา 2023 เวลา 16 นาฬิกา 16 นาที
Hi Ricardo , Hope all is well. A brief explanation would be great .
RicardoSantos
⋅
22 กุมภา 2023 เวลา 16 นาฬิกา 56 นาที
@slkmbnz37
, it clips a polygon shape to fit another as per the description and example
เพิ่มเติม