TradingView
RicardoSantos
22 Feb 2023 pukul 15.54
Vector2FunctionClip
OANDA:NAS100USD
1M
US Nas 100
OANDA
Deskripsi
⋅
22 Feb 2023 pukul 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
Komentar
KioseffTrading
⋅
22 Feb 2023 pukul 16.57
BEAST
djmad
⋅
22 Feb 2023 pukul 20.29
Are you trying to code a CAD system for Pinescript?
nice work!!!
RicardoSantos
⋅
23 Feb 2023 pukul 11.34
@djmad
, nah, just a leftover toy code
m4rk3tm4k3r
⋅
3 Nov 2023 pukul 15.41
You are the best !
MillionYay
⋅
28 Feb 2023 pukul 02.02
Amazing
slkmbnz37
⋅
22 Feb 2023 pukul 16.16
Hi Ricardo , Hope all is well. A brief explanation would be great .
RicardoSantos
⋅
22 Feb 2023 pukul 16.56
@slkmbnz37
, it clips a polygon shape to fit another as per the description and example
Lebih lanjut