九韶内核
|
根据点拟合一个 B 样条曲面的类 更多...
#include <geometry/GeomAPIPointsToBSplineSurface.hpp>
Public 成员函数 | |
GeomAPIPointsToBSplineSurface () noexcept=default | |
默认构造函数
| |
AMCAX_API | GeomAPIPointsToBSplineSurface (const Array2< Point3 > &points, int degMin=3, int degMax=8, ContinuityType continuity=ContinuityType::C2, double tol=1e-3) |
根据点集拟合一个 B 样条曲面
| |
AMCAX_API | GeomAPIPointsToBSplineSurface (const Array2< Point3 > &points, ApproxParameterizationType parType, int degMin=3, int degMax=8, ContinuityType continuity=ContinuityType::C2, double tol=1e-3) |
根据点集和指定的拟合参数化类型拟合一个 B 样条曲面
| |
AMCAX_API | GeomAPIPointsToBSplineSurface (const Array2< Point3 > &points, double weight1, double weight2, double weight3, int degMax=8, ContinuityType continuity=ContinuityType::C2, double tol=1e-3) |
根据点集和三个权重拟合一个 B 样条曲面
| |
AMCAX_API | GeomAPIPointsToBSplineSurface (const Array2< double > &zPoints, double x0, double dx, double y0, double dy, int degMin=3, int degMax=8, ContinuityType continuity=ContinuityType::C2, double tol=1e-3) |
根据 x 坐标和 y 坐标恒定增加的点集拟合一个 B 样条曲面
| |
AMCAX_API void | Init (const Array2< Point3 > &points, int degMin=3, int degMax=8, ContinuityType continuity=ContinuityType::C2, double tol=1e-3) |
初始化并根据点集拟合一个 B 样条曲面
| |
AMCAX_API void | Interpolate (const Array2< Point3 > &points, bool periodic=false) |
在曲面上插值点集
| |
AMCAX_API void | Interpolate (const Array2< Point3 > &points, ApproxParameterizationType parType, bool periodic=false) |
在曲面上插值指定拟合参数化类型的点集
| |
AMCAX_API void | Init (const Array2< double > &zPoints, double x0, double dx, double y0, double dy, int degMin=3, int degMax=8, ContinuityType continuity=ContinuityType::C2, double tol=1e-3) |
初始化并根据 x 坐标和 y 坐标恒定增加的点集拟合一个 B 样条曲面
| |
AMCAX_API void | Interpolate (const Array2< double > &zPoints, double x0, double dx, double y0, double dy) |
在曲面上插值 x 坐标和 y 坐标恒定增加的点集
| |
AMCAX_API void | Init (const Array2< Point3 > &points, ApproxParameterizationType parType, int degMin=3, int degMax=8, ContinuityType continuity=ContinuityType::C2, double tol=1e-3, bool periodic=false) |
初始化并根据点集和指定的拟合参数化类型拟合一个 B 样条曲面
| |
AMCAX_API void | Init (const Array2< Point3 > &points, double weight1, double weight2, double weight3, int degMax=8, ContinuityType continuity=ContinuityType::C2, double tol=1e-3) |
初始化并根据点集和三个权重拟合一个 B 样条曲面
| |
AMCAX_API const std::shared_ptr< Geom3BSplineSurface > & | Surface () const |
获取结果曲面
| |
AMCAX_API | operator std::shared_ptr< Geom3BSplineSurface > () const |
获取结果曲面
| |
AMCAX_API bool | IsDone () const noexcept |
判断算法是否完成
| |
根据点拟合一个 B 样条曲面的类
|
explicit |
根据点集拟合一个 B 样条曲面
points | 点集 |
degMin | B 样条曲线的最小次数 |
degMax | B 样条曲线的最大次数 |
continuity | 连续性类型 |
tol | 计算容差 |
AMCAX_API AMCAX::GeomAPIPointsToBSplineSurface::GeomAPIPointsToBSplineSurface | ( | const Array2< Point3 > & | points , |
ApproxParameterizationType | parType , | ||
int | degMin = 3, | ||
int | degMax = 8, | ||
ContinuityType | continuity = ContinuityType::C2, | ||
double | tol = 1e-3 ) |
根据点集和指定的拟合参数化类型拟合一个 B 样条曲面
points | 点集 |
parType | 拟合中使用的参数化类型 |
degMin | B 样条曲线的最小次数 |
degMax | B 样条曲线的最大次数 |
continuity | 连续性类型 |
tol | 计算容差 |
AMCAX_API AMCAX::GeomAPIPointsToBSplineSurface::GeomAPIPointsToBSplineSurface | ( | const Array2< Point3 > & | points , |
double | weight1 , | ||
double | weight2 , | ||
double | weight3 , | ||
int | degMax = 8, | ||
ContinuityType | continuity = ContinuityType::C2, | ||
double | tol = 1e-3 ) |
根据点集和三个权重拟合一个 B 样条曲面
该算法将试图寻找到一个 weight1 * 长度 + weight2 * 曲率 + weight3 * 挠率的最小结果
points | 点集 |
weight1 | 长度的权重 |
weight2 | 曲率的权重 |
weight3 | 挠率的权重 |
degMax | B 样条曲线的最大次数 |
continuity | 连续性类型 |
tol | 计算容差 |
AMCAX_API AMCAX::GeomAPIPointsToBSplineSurface::GeomAPIPointsToBSplineSurface | ( | const Array2< double > & | zPoints , |
double | x0 , | ||
double | dx , | ||
double | y0 , | ||
double | dy , | ||
int | degMin = 3, | ||
int | degMax = 8, | ||
ContinuityType | continuity = ContinuityType::C2, | ||
double | tol = 1e-3 ) |
根据 x 坐标和 y 坐标恒定增加的点集拟合一个 B 样条曲面
zPoints | 点集的 z 坐标 |
x0 | 起始点的 x 坐标 |
dx | x 坐标的增量值 |
y0 | 起始点的 y 坐标 |
dy | y 坐标的增量值 |
degMin | B 样条曲线的最小次数 |
degMax | B 样条曲线的最大次数 |
continuity | 连续性类型 |
tol | 计算容差 |
AMCAX_API void AMCAX::GeomAPIPointsToBSplineSurface::Init | ( | const Array2< double > & | zPoints , |
double | x0 , | ||
double | dx , | ||
double | y0 , | ||
double | dy , | ||
int | degMin = 3, | ||
int | degMax = 8, | ||
ContinuityType | continuity = ContinuityType::C2, | ||
double | tol = 1e-3 ) |
初始化并根据 x 坐标和 y 坐标恒定增加的点集拟合一个 B 样条曲面
zPoints | 点集的 z 坐标 |
x0 | 起始点的 x 坐标 |
dx | x 坐标的增量值 |
y0 | 起始点的 y 坐标 |
dy | y 坐标的增量值 |
degMin | B 样条曲线的最小次数 |
degMax | B 样条曲线的最大次数 |
continuity | 连续性类型 |
tol | 计算容差 |
AMCAX_API void AMCAX::GeomAPIPointsToBSplineSurface::Init | ( | const Array2< Point3 > & | points , |
ApproxParameterizationType | parType , | ||
int | degMin = 3, | ||
int | degMax = 8, | ||
ContinuityType | continuity = ContinuityType::C2, | ||
double | tol = 1e-3, | ||
bool | periodic = false ) |
初始化并根据点集和指定的拟合参数化类型拟合一个 B 样条曲面
points | 点集 |
parType | 拟合中使用的参数化类型 |
degMin | B 样条曲线的最小次数 |
degMax | B 样条曲线的最大次数 |
continuity | 连续性类型 |
tol | 计算容差 |
periodic | 曲面是否为周期性的 |
AMCAX_API void AMCAX::GeomAPIPointsToBSplineSurface::Init | ( | const Array2< Point3 > & | points , |
double | weight1 , | ||
double | weight2 , | ||
double | weight3 , | ||
int | degMax = 8, | ||
ContinuityType | continuity = ContinuityType::C2, | ||
double | tol = 1e-3 ) |
初始化并根据点集和三个权重拟合一个 B 样条曲面
该算法将试图寻找到一个 weight1 * 长度 + weight2 * 曲率 + weight3 * 挠率的最小结果
points | 点集 |
weight1 | 长度的权重 |
weight2 | 曲率的权重 |
weight3 | 挠率的权重 |
degMax | B 样条曲线的最大次数 |
continuity | 连续性类型 |
tol | 计算容差 |
AMCAX_API void AMCAX::GeomAPIPointsToBSplineSurface::Init | ( | const Array2< Point3 > & | points , |
int | degMin = 3, | ||
int | degMax = 8, | ||
ContinuityType | continuity = ContinuityType::C2, | ||
double | tol = 1e-3 ) |
初始化并根据点集拟合一个 B 样条曲面
points | 点集 |
degMin | B 样条曲线的最小次数 |
degMax | B 样条曲线的最大次数 |
continuity | 连续性类型 |
tol | 计算容差 |
AMCAX_API void AMCAX::GeomAPIPointsToBSplineSurface::Interpolate | ( | const Array2< double > & | zPoints , |
double | x0 , | ||
double | dx , | ||
double | y0 , | ||
double | dy ) |
在曲面上插值 x 坐标和 y 坐标恒定增加的点集
zPoints | 点集的 z 坐标 |
x0 | 起始点的 x 坐标 |
dx | x 坐标的增量值 |
y0 | 起始点的 y 坐标 |
dy | y 坐标的增量值 |
AMCAX_API void AMCAX::GeomAPIPointsToBSplineSurface::Interpolate | ( | const Array2< Point3 > & | points , |
ApproxParameterizationType | parType , | ||
bool | periodic = false ) |
在曲面上插值指定拟合参数化类型的点集
points | 待插值的点集 |
parType | 拟合中使用的参数化类型 |
periodic | 曲面是否为周期性的 |
AMCAX_API void AMCAX::GeomAPIPointsToBSplineSurface::Interpolate | ( | const Array2< Point3 > & | points , |
bool | periodic = false ) |
在曲面上插值点集
points | 待插值的点集 |
periodic | 曲面是否为周期性的 |
|
nodiscard noexcept |
判断算法是否完成
|
nodiscard |
获取结果曲面
|
nodiscard |
获取结果曲面