AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIGeomCurve2d.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIGeomCurve2d_H_
4 #define _APIGeomCurve2d_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  EnumCurveType GetCurveType () const;
43  Real Tolerance () const;
47  Real FirstParameter () const;
51  Real LastParameter () const;
55  int Continuity () const;
59  bool IsClosed () const;
63  bool IsPeriodic () const;
67  Real Period () const;
73  Vector2 Value (Real u) const;
79  Vector2 D0 (Real u) const;
85  Vector2List D1 (Real u) const;
91  Vector2List D2 (Real u) const;
97  Vector2List D3 (Real u) const;
104  Vector2 DN (Real u, int n) const;
105  };//GeomCurve2d;
106 }}//API
107 
108 #endif //_APIGeomCurve2d_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
Point or vector.
Definition: APIMath.h:16
BSpline Curve tool that can be used to construct BSpline and get BSpline information.
Definition: APIGeomCurve2d.h:20
geometry base class.
Definition: APIGeomBase.h:18
拓扑对象
Definition: APITopoShape.h:18
EnumCurveType
Definition: APIEnums.h:22
std::vector< Vector2 > Vector2List
Definition: APIMath.h:30
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
double Real
Definition: APIMath.h:7