Chrysalis - Pattern
Toggle main menu visibility
Loading...
Searching...
No Matches
Curve.h
Go to the documentation of this file.
1
#ifndef CHRYSALIS_CURVE_H
2
#define CHRYSALIS_CURVE_H
3
4
#include <
CGAL.h
>
5
#include <tinysplinecxx.h>
6
7
namespace
Chrysalis
{
8
class
Curve
{
9
public
:
10
explicit
Curve
(
CG::Point
handleFrom,
CG::Point
handleTo,
const
std::vector<CG::Point>& points);
11
[[nodiscard]] std::vector<CG::Point>
curvePoints
(
double
distance)
const
;
12
private
:
13
tinyspline::BSpline spline_;
14
};
15
}
16
17
#endif
//CHRYSALIS_CURVE_H
CGAL.h
Chrysalis::Curve::Curve
Curve(CG::Point handleFrom, CG::Point handleTo, const std::vector< CG::Point > &points)
Definition
Curve.cpp:5
Chrysalis::Curve::curvePoints
std::vector< CG::Point > curvePoints(double distance) const
Definition
Curve.cpp:26
Chrysalis::CG::Point
CGAL::Point_2< LinearKernel > Point
Definition
CGAL.h:24
Chrysalis
Definition
Argument.h:9
pattern
include
Curve.h
Generated by
1.17.0