C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844
TriPoly Class Reference

Polygon. More...

#include <mesh_plane_grid.h>

Public Member Functions

intptr_t Size () const
 Size of vertex chain.
 
size_t Index () const
 Index of vertex.
 
TriVertex * This () const
 Current vertex.
 
TriVertex * Next () const
 Next vertex.
 
TriVertex * Prev () const
 Previous vertex.
 
TriVertex * Neighbor (MbeMoveType rotation) const
 Neighboring vertex.
 
TriVertex * Advance (MbeMoveType rotation)
 Move current vertex pointer to the neighbor.
 
TriVertex * SetVertex (TriVertex *)
 Move current vertex pointer to the given one.
 
TriVertex * Insert (TriVertex &)
 Insert new vertex.
 
void Remove ()
 Remove the current vertex.
 
TriPoly * Split (TriVertex &, bool createNew)
 Cutting of polygon along a chord.
 
bool GetTriangle (size_t &k0, size_t &k1, size_t &k2) const
 Get indices of triangle vertices (when there are more than 2 vertices)
 
TriPoly * DeleteDegeneratedBridge (MbPlanarGrid &grid)
 Remove the degenerate bridge from the current vertex.
 

Detailed Description

Polygon.


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