AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIGeomSurface.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIGeomSurface_H_
4 #define _APIGeomSurface_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  EnumSurfaceType GetSurfaceType () const;
43  Real Tolerance () const;
47  Real FirstUParameter () const;
51  Real LastUParameter () const;
55  Real FirstVParameter () const;
59  Real LastVParameter () const;
63  int UContinuity () const;
67  int VContinuity () const;
71  bool IsUClosed () const;
75  bool IsVClosed () const;
79  bool IsUPeriodic () const;
83  bool IsVPeriodic () const;
87  Real UPeriod () const;
91  Real VPeriod () const;
98  Vector3 Value (Real u, Real v) const;
105  Vector3 GetNormal (Real u, Real v) const;
112  Vector3 D0 (Real u, Real v) const;
119  Vector3List D1 (Real u, Real v) const;
126  Vector3List D2 (Real u, Real v) const;
133  Vector3List D3 (Real u, Real v) const;
142  Vector3 DN (Real u, Real v, int nu, int nv) const;
143  };//GeomSurface;
144 }}//API
145 
146 #endif //_APIGeomSurface_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
EnumSurfaceType
Definition: APIEnums.h:37
BSpline surface tool that can be used to construct BSpline and get BSpline information.
Definition: APIGeomSurface.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
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33
double Real
Definition: APIMath.h:7