Closed
Description
I wanted to mesh an arbitrary polygons from 3d points. But if provided points are in CW direction, mesh()
returns empty or with missing geometry faces. I guess it's because decompose()
function returns empty array:
tri_ccw = Point{3,Float64}[(0,0,0,), (1,0,0), (0,1,0)] # points in ccw direction
tri_cw = reverse(tri_ccw) # points in cw direction
@show length(decompose(TriangleFace{Int}, tri_ccw)) == 1 # <- as expected
@show length(decompose(TriangleFace{Int}, tri_cw )) == 1 # <- decompose returns with empty array
Metadata
Metadata
Assignees
Labels
No labels