Dec-07-2019, 06:32 AM
Hey Guys!
Maybe someone of you know a Package to write in a given 2D numpy array a Triangle with 3 specified points of a matrix and a given value to replace it with.
The Triangle should be completly filled with the given value.
A Sqare with 4 points to select would do the job also.
The shape of the matrix sould not be changed.
Thanks!
Maybe someone of you know a Package to write in a given 2D numpy array a Triangle with 3 specified points of a matrix and a given value to replace it with.
The Triangle should be completly filled with the given value.
A Sqare with 4 points to select would do the job also.
The shape of the matrix sould not be changed.
Thanks!