Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/geometry/FitCurve.h
| Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
| typedef Point2 Vector2; | typedef Point2 Vector2; | ||||
| class FitCurveWrapper { | class FitCurveWrapper { | ||||
| private: | private: | ||||
| std::vector<Vector2> _vertices; | std::vector<Vector2> _vertices; | ||||
| public: | public: | ||||
| FitCurveWrapper(); | |||||
| ~FitCurveWrapper(); | ~FitCurveWrapper(); | ||||
| /*! Fits a set of 2D data points to a set of Bezier Curve segments | /*! Fits a set of 2D data points to a set of Bezier Curve segments | ||||
| * data | * data | ||||
| * Input data points | * Input data points | ||||
| * oCurve | * oCurve | ||||
| * Control points of the sets of bezier curve segments. | * Control points of the sets of bezier curve segments. | ||||
| * Each segment is made of 4 points (polynomial degree of curve = 3) | * Each segment is made of 4 points (polynomial degree of curve = 3) | ||||
| Show All 29 Lines | |||||