14#ifndef TRIANGULATOR3_H
15#define TRIANGULATOR3_H
28class EXPCL_PANDA_MATHUTIL Triangulator3 :
public Triangulator {
34 INLINE
int add_vertex(
double x,
double y,
double z);
37 INLINE
const LPoint3d &
get_vertex(
int n)
const;
47 typedef pvector<LPoint3d> Vertices3;
get_vertex
Returns the nth vertex.
get_num_vertices
Returns the number of vertices in the pool.
get_plane
Returns the plane of the polygon.
void clear()
Removes all vertices and polygon specifications from the Triangulator, and prepares it to start over.
get_vertex
Returns the nth vertex.
int add_vertex(const LPoint2d &point)
Adds a new vertex to the vertex pool.
void triangulate()
Does the work of triangulating the specified polygon.
get_num_vertices
Returns the number of vertices in the pool.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.