isclockwise
isclockwise(poly::Matrix{<:AbstractFloat}, view=(0.0,0.0,1.0)) -> Bool
Return true if the 2D/3D poly is clockwise when seen from the view direction.
Example
poly = [0.0 0.0 0.0; 0.0 0.0 1.0; 0.0 1.0 1.0; 0.0 1.0 0.0; 0.0 0.0 0.0]
isclockwise(poly, (1.0,0.1,0.0))Source Code
This function has multiple methods:
isclockwise(poly::Matrix{<:AbstractFloat}, view)- utils.jl:1239isclockwise(poly::Matrix{<:AbstractFloat})- utils.jl:1239