AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIFaceTriangulation.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIFaceTriangulation_H_
4 #define _APIFaceTriangulation_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class TopoShape;
19  {
21  public:
26  Real GetTolerance () const;
31  void SetTolerance (Real tol) ;
37  bool Perform (const TopoShape& face) ;
42  FloatList GetVertexBuffer () const;
47  UIntList GetIndexBuffer () const;
52  FloatList GetNormalBuffer () const;
57  FloatList GetTexCoordBuffer () const;
58  };//FaceTriangulation;
59 }}//API
60 
61 #endif //_APIFaceTriangulation_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
std::vector< unsigned int > UIntList
Definition: APIString.h:17
拓扑对象
Definition: APITopoShape.h:18
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
std::vector< float > FloatList
Definition: APIString.h:15
Triangulate face to mesh. -since R2014UR1.
Definition: APIFaceTriangulation.h:18
double Real
Definition: APIMath.h:7