3.4.0
tigl::CTiglPolygon Class Reference

#include <CTiglPolyData.h>

Public Member Functions

TIGL_EXPORT void addNormal (const CTiglPoint &)
 
TIGL_EXPORT void addPoint (const CTiglPoint &)
 
TIGL_EXPORT CTiglPolygon ()
 
TIGL_EXPORT const char * getMetadata () const
 
TIGL_EXPORT const CTiglPoint & getNormConst (unsigned int index) const
 
TIGL_EXPORT unsigned int getNPoints () const
 
TIGL_EXPORT CTiglPoint & getPoint (unsigned int index)
 
TIGL_EXPORT const CTiglPoint & getPointConst (unsigned int index) const
 
TIGL_EXPORT void setMetadata (const char *)
 

Private Attributes

std::string _metadata
 
std::vector< CTiglPoint > _normals
 
std::vector< CTiglPoint > _points
 

Constructor & Destructor Documentation

◆ CTiglPolygon()

TIGL_EXPORT tigl::CTiglPolygon::CTiglPolygon ( )

Member Function Documentation

◆ addNormal()

TIGL_EXPORT void tigl::CTiglPolygon::addNormal ( const CTiglPoint &  )

◆ addPoint()

TIGL_EXPORT void tigl::CTiglPolygon::addPoint ( const CTiglPoint &  )

◆ getMetadata()

TIGL_EXPORT const char* tigl::CTiglPolygon::getMetadata ( ) const

◆ getNormConst()

TIGL_EXPORT const CTiglPoint& tigl::CTiglPolygon::getNormConst ( unsigned int  index) const

◆ getNPoints()

TIGL_EXPORT unsigned int tigl::CTiglPolygon::getNPoints ( ) const

◆ getPoint()

TIGL_EXPORT CTiglPoint& tigl::CTiglPolygon::getPoint ( unsigned int  index)

◆ getPointConst()

TIGL_EXPORT const CTiglPoint& tigl::CTiglPolygon::getPointConst ( unsigned int  index) const

◆ setMetadata()

TIGL_EXPORT void tigl::CTiglPolygon::setMetadata ( const char *  )

Field Documentation

◆ _metadata

std::string tigl::CTiglPolygon::_metadata
private

◆ _normals

std::vector<CTiglPoint> tigl::CTiglPolygon::_normals
private

◆ _points

std::vector<CTiglPoint> tigl::CTiglPolygon::_points
private

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