462 public: |
462 public: |
463 LDBezierCurve (const Vertex& v0, const Vertex& v1, |
463 LDBezierCurve (const Vertex& v0, const Vertex& v1, |
464 const Vertex& v2, const Vertex& v3, LDDocument* document = nullptr); |
464 const Vertex& v2, const Vertex& v3, LDDocument* document = nullptr); |
465 Vertex pointAt (qreal t) const; |
465 Vertex pointAt (qreal t) const; |
466 LDObjectList rasterize (int segments); |
466 LDObjectList rasterize (int segments); |
|
467 QVector<LDPolygon> rasterizePolygons (int segments); |
467 }; |
468 }; |
468 |
469 |
469 // Other common LDraw stuff |
470 // Other common LDraw stuff |
470 static const QString CALicenseText ("!LICENSE Redistributable under CCAL version 2.0 : " |
471 static const QString CALicenseText ("!LICENSE Redistributable under CCAL version 2.0 : " |
471 "see CAreadme.txt"); |
472 "see CAreadme.txt"); |