gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
decasteljau.h
Go to the documentation of this file.
1 // Gmsh - Copyright (C) 1997-2022 C. Geuzaine, J.-F. Remacle
2 //
3 // See the LICENSE.txt file in the Gmsh root directory for license information.
4 // Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
5 //
6 // Contributed by J. Lambrechts
7 
8 #ifndef DECASTELJAU_H
9 #define DECASTELJAU_H
10 
11 #include <vector>
12 class SPoint3;
13 void decasteljau(double tol, const SPoint3 &p0, const SPoint3 &p1,
14  const SPoint3 &p2, std::vector<SPoint3> &pts,
15  std::vector<double> &ts);
16 void decasteljau(double tol, const SPoint3 &p0, const SPoint3 &p1,
17  const SPoint3 &p2, const SPoint3 &p3,
18  std::vector<SPoint3> &pts, std::vector<double> &ts);
19 void decasteljau(double tol, const std::vector<SPoint3> &controlPoints,
20  std::vector<SPoint3> &pts, std::vector<double> &ts);
21 
22 #endif
SPoint3
Definition: SPoint3.h:14
decasteljau
void decasteljau(double tol, const SPoint3 &p0, const SPoint3 &p1, const SPoint3 &p2, std::vector< SPoint3 > &pts, std::vector< double > &ts)
Definition: decasteljau.cpp:69