AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APITopoShapeProperty.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APITopoShapeProperty_H_
4 #define _APITopoShapeProperty_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class TopoShape;
19  {
21  public:
26  void SetShape (const TopoShape& shape) ;
31  Real EdgeLength () const;
36  Real SurfaceArea () const;
41  Real SolidVolume () const;
46  Vector3 CenterOfMass () const;
47  };//TopoShapeProperty;
48 }}//API
49 
50 #endif //_APITopoShapeProperty_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
拓扑对象
Definition: APITopoShape.h:18
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
Point or vector.
Definition: APIMath.h:37
Get the Geometry property.
Definition: APITopoShapeProperty.h:18
double Real
Definition: APIMath.h:7