Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/geometry/FitCurve.h
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||||
| #pragma once | #pragma once | ||||
| /** \file | /** \file | ||||
| * \ingroup freestyle | * \ingroup freestyle | ||||
| * \brief An Algorithm for Automatically Fitting Digitized Curves by Philip J. Schneider, | * \brief An Algorithm for Automatically Fitting Digitized Curves by Philip J. Schneider, | ||||
| * \brief from "Graphics Gems", Academic Press, 1990 | * \brief from "Graphics Gems", Academic Press, 1990 | ||||
| */ | */ | ||||
| #include <vector> | #include <vector> | ||||
| #include "Geom.h" | #include "Geom.h" | ||||
| #include "../system/FreestyleConfig.h" | |||||
| namespace Freestyle { | namespace Freestyle { | ||||
| using namespace Geometry; | using namespace Geometry; | ||||
| /* 2d point */ | /* 2d point */ | ||||
| typedef struct Point2Struct { | typedef struct Point2Struct { | ||||
| double coordinates[2]; | double coordinates[2]; | ||||
| ▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines | |||||