/**
* @brief Describes the type of geometry, used to determine how the coordinates will be used.
- * @SINCE_1_1.43
+ * @SINCE_1_1.45
*/
- enum GeometryType
+ enum Type
{
- POINTS, ///< Individual points @SINCE_1_1.43
- LINES, ///< Individual lines (made of 2 points each) @SINCE_1_1.43
- LINE_LOOP, ///< A strip of lines (made of 1 point each) which also joins the first and last point @SINCE_1_1.43
- LINE_STRIP, ///< A strip of lines (made of 1 point each) @SINCE_1_1.43
- TRIANGLES, ///< Individual triangles (made of 3 points each) @SINCE_1_1.43
- TRIANGLE_FAN, ///< A fan of triangles around a centre point (after the first triangle, following triangles need only 1 point) @SINCE_1_1.43
- TRIANGLE_STRIP ///< A strip of triangles (after the first triangle, following triangles need only 1 point) @SINCE_1_1.43
+ POINTS, ///< Individual points @SINCE_1_1.45
+ LINES, ///< Individual lines (made of 2 points each) @SINCE_1_1.45
+ LINE_LOOP, ///< A strip of lines (made of 1 point each) which also joins the first and last point @SINCE_1_1.45
+ LINE_STRIP, ///< A strip of lines (made of 1 point each) @SINCE_1_1.45
+ TRIANGLES, ///< Individual triangles (made of 3 points each) @SINCE_1_1.45
+ TRIANGLE_FAN, ///< A fan of triangles around a centre point (after the first triangle, following triangles need only 1 point) @SINCE_1_1.45
+ TRIANGLE_STRIP ///< A strip of triangles (after the first triangle, following triangles need only 1 point) @SINCE_1_1.45
};
* @SINCE_1_1.43
* @param[in] geometryType Type of primitives this geometry contains
*/
- void SetGeometryType( GeometryType geometryType );
+ void SetType( Type geometryType );
/**
* @brief Get the type of primitives this geometry contains
* @SINCE_1_1.43
* @return Type of primitives this geometry contains
*/
- GeometryType GetGeometryType() const;
+ Type GetType() const;
public: