Liking cljdoc? Tell your friends :D
Clojure only.

artlib.geometry.triangle


random-pointclj

(random-point vertex-a vertex-b vertex-c)

Returns a random vec of a random point inside of the specified triangle. See: https://blogs.sas.com/content/iml/2020/10/19/random-points-in-triangle.html

Returns a random vec of a random point inside of the specified triangle.
See: https://blogs.sas.com/content/iml/2020/10/19/random-points-in-triangle.html
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close