Tessellate a polygon. The function will fill the polygon's surface with triangles.
Syntax
int GEMS_2D_Tessellate( int nb_node,
Point_2D *node_list,
Point_2D **list_a,
Point_2D **list_b,
Point_2D **list_c
) ;
Parameters
nb_node
Number of nodes on the polygon
node_list
List of nodes of the polygon
list_a
List of first points of the create polygon.
list_b
List of second points of the create polygon.
list_c
List of third points of the create polygon.
Return value
This function return the number of triangles created.
Remarks
Requirements
Header:
sliceO_include.hpp
Library:
sliceO_Structures.lib
Example
See also