NDEVR
API Documentation
SliceVertex< t_type, t_vertex_type >

Stores an index to a particular vertex used with ConcaveToConvexPolygon. More...

Public Member Functions

 SliceVertex ()
 Default constructor.
 SliceVertex (t_vertex_type const &_position)
 Constructs a SliceVertex from a vertex position.

Public Attributes

t_type distanceToSlice
 The distance from this vertex to the slice line.
int index
 The index of this vertex within the polygon.

Detailed Description

template<class t_type, class t_vertex_type>
struct SliceVertex< t_type, t_vertex_type >

Stores an index to a particular vertex used with ConcaveToConvexPolygon.


The Slice index is used with ConcavePolygon to break it into convex polygons or triangles.

Definition at line 16 of file ConcaveToConvexPolygon.h.

Constructor & Destructor Documentation

◆ SliceVertex()

template<class t_type, class t_vertex_type>
SliceVertex< t_type, t_vertex_type >::SliceVertex ( t_vertex_type const & _position)
inline

Constructs a SliceVertex from a vertex position.

Parameters
[in]_positionThe position to initialize from.

Definition at line 27 of file ConcaveToConvexPolygon.h.


The documentation for this struct was generated from the following file: