AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIGeomBSplineCurve.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIGeomBSplineCurve_H_
4 #define _APIGeomBSplineCurve_H_
5 
6 #include "APIObjectDef.h"
7 
8 #include "APIGeomBase.h"
9 
10 namespace AnyCAD{ namespace API
11 {
12  class TopoShape;
21  : public GeomBase
22  {
24  public:
28  virtual bool IsValidGeomey () const;
34  virtual bool Initialize (const TopoShape& topoShape) ;
39  Vector3List GetPoles () const;
44  FloatList GetKnots () const;
49  IntList GetMultiplicities () const;
54  int GetDegree () const;
60  Real GetParameter (const Vector3& point) const;
66  Vector3 GetPoint (Real param) const;
67  };//GeomBSplineCurve;
68 }}//API
69 
70 #endif //_APIGeomBSplineCurve_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
BSpline Curve tool that can be used to construct BSpline and get BSpline information.
Definition: APIGeomBSplineCurve.h:20
Point of vector list.
Definition: APIMath.h:131
geometry base class.
Definition: APIGeomBase.h:18
拓扑对象
Definition: APITopoShape.h:18
Point or vector.
Definition: APIMath.h:37
std::vector< float > FloatList
Definition: APIString.h:15
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
std::vector< int > IntList
Definition: APIString.h:16
double Real
Definition: APIMath.h:7