All Classes |Grouped Classes |Index

Class CL_EarClipTriangulator

Ear-clipping triangulator. More...

Derived from:

None

Derived by:

None

Group:

Math (Core)

#include <ClanLib/core.h>

Class Members:

Construction:

CL_EarClipTriangulator

Constructs a triangulator.


Attributes:

get_vertices

Returns a list of the vertices added to the triangulator.

get_vertice_count

Returns the number of vertices in the triangulator.

calculate_polygon_orientation

Determine the orientation of the vertices in the triangulator.


Operations:

add_vertex

Add the next vertex of the polygon to the triangulator.

clear

Remove all vertices from triangulator.

set_orientation

Set polygon orientation.

triangulate

Perform triangulation.

begin_hole

Mark beginning of a polygon hole.

end_hole

Mark ending of a polygon hole.