Changes between Initial Version and Version 1 of Ticket #3435, comment 3


Ignore:
Timestamp:
Jan 20, 2016, 12:27:27 AM (6 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3435, comment 3

    initial v1  
    11tomvantilburg,
    22
    3 The problem seems to be that I need to specify if the polygon is convex or not.  Seems the spec assumes convex. 
     3The problem seems to be that I need to specify if the polyhedral is convex or not.  Seems the spec assumes convex if not stated so guess I have to come up with routine for that.
     4
     5So before:
     6
     7[[Image(current_state.png)]]
    48
    59I redid mine using:
     
    2024and output then looks correct:
    2125
     26[[Image(future_state_not_convex.png​)]]
     27
     28So I guess solution is I've got to figure out if the polyhderal or polygon is convex or concave.  I'm thinking if all polygons are convex (e.g. convexhull(polygon) = polygon) for all faces holds true then it's convex, otherwise concave.
     29