AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIWireConnectorByFace.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIWireConnectorByFace_H_
4 #define _APIWireConnectorByFace_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class TopoShape;
11  class TopoShapeGroup;
20  {
22  public:
30  bool Build (const TopoShape& solid, const TopoShape& baseFace, const TopoShapeGroup& faces) ;
35  TopoShape GetWire () const;
40  Real GetInitialLength () const;
45  long GetSegmentCount () const;
51  int GetBaseFaceIndex (long idx) const;
57  int GetWallFaceIndex (long idx) const;
63  int GetEdgeIndexOnBaseFace (long idx) const;
70  static Vector3 GetNormal (const TopoShape& face, const Vector3& position) ;
71  };//WireConnectorByFace;
72 }}//API
73 
74 #endif //_APIWireConnectorByFace_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
拓扑对象
Definition: APITopoShape.h:18
Connect the edges to wires.
Definition: APIWireConnectorByFace.h:19
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
Point or vector.
Definition: APIMath.h:37
拓扑对象组
Definition: APITopoShapeGroup.h:18
double Real
Definition: APIMath.h:7