AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIGeomCurve.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIGeomCurve_H_
4 #define _APIGeomCurve_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  bool Is3DCurve () const;
47  bool IsCurveOnSurface () const;
51  Real Tolerance () const;
55  Real FirstParameter () const;
59  Real LastParameter () const;
63  int Continuity () const;
67  bool IsClosed () const;
71  bool IsPeriodic () const;
75  Real Period () const;
81  Vector3 Value (Real u) const;
87  Vector3 D0 (Real u) const;
93  Vector3List D1 (Real u) const;
99  Vector3List D2 (Real u) const;
105  Vector3List D3 (Real u) const;
112  Vector3 DN (Real u, int n) const;
119  FloatList SplitByUniformLength (Real length, Real tolerance) const;
124  Vector3 GetStartPoint () const;
129  Vector3 GetEndPoint () const;
134  AABox GetBBox () const;
135  };//GeomCurve;
136 }}//API
137 
138 #endif //_APIGeomCurve_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
AABox.
Definition: APIMath.h:281
Point of vector list.
Definition: APIMath.h:131
geometry base class.
Definition: APIGeomBase.h:18
拓扑对象
Definition: APITopoShape.h:18
EnumCurveType
Definition: APIEnums.h:22
BSpline Curve tool that can be used to construct BSpline and get BSpline information.
Definition: APIGeomCurve.h:20
Point or vector.
Definition: APIMath.h:37
std::vector< float > FloatList
Definition: APIString.h:15
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
double Real
Definition: APIMath.h:7