20 #ifndef GLREGULARPOLYGON_H
21 #define GLREGULARPOLYGON_H
23 #include <tulip/GlPolygon.h>
24 #include <tulip/Size.h>
43 unsigned int numberOfSides,
44 const Color &outlineColor = Color(255, 0 , 0 , 255),
45 const Color &fillColor = Color (0, 0, 255,255),
48 const std::string &textureName=
"",
49 float outlineSize=1.);
60 void setStartAngle(
float angle);
65 unsigned int getNumberOfSides();
70 void resizePoints(
const unsigned int number);
75 void setNumberOfSides(
unsigned int number);
79 void computePolygon();
84 unsigned int numberOfSides;
class to create a regular polygon
Class to create a polygon GlEntity.