I need a mathematical approach to check if a 3D polygonal object is convex.
In other words, how can one determine mathematically if a 3D polygonal object is convex by knowing the vertexes of the polygon.
Thanks!
I need a mathematical approach to check if a 3D polygonal object is convex.
Share
You can check that a polygon is concave by taking each face and then replacing all the vertices in the plane equation of the face:
if they have the same sign it means that the face delimits the polygon in a certain direction => the test succeeds; proceed to next face
if they have different signs => this face cuts another face => the polygon is concave.