16 #ifndef QGSTESSELLATOR_H 17 #define QGSTESSELLATOR_H 42 QgsTessellator(
double originX,
double originY,
bool addNormals,
bool invertNormals =
false );
45 void addPolygon(
const QgsPolygon &polygon,
float extrusionHeight );
48 QVector<float>
data()
const {
return mData; }
50 int stride()
const {
return mStride; }
55 std::unique_ptr< QgsMultiPolygon > asMultiPolygon()
const;
58 double mOriginX, mOriginY;
65 #endif // QGSTESSELLATOR_H QVector< float > data() const
Returns array of triangle vertex data.
int stride() const
Returns size of one vertex entry in bytes.
3 Class that takes care of tessellation of polygons into triangles.
Multi polygon geometry collection.