AMCAX Kernel
Geometry kernel for CAD/CAE/CAM
九韶内核
载入中...
搜索中...
未找到
WithAttrModeling.hpp 文件参考

带属性的建模类 更多...

WithAttrModeling.hpp 的引用(Include)关系图:

class  AMCAX::WithAttr< MakePrism >
 构造带属性的棱柱的类 更多...
 
class  AMCAX::WithAttr< MakeSphere >
 构造带属性的球体的类 更多...
 
class  AMCAX::WithAttr< MakeTorus >
 构造带属性的圆环的类 更多...
 
class  AMCAX::WithAttr< MakePipe >
 构造带属性的管道的类 更多...
 
class  AMCAX::WithAttr< MakePyramid >
 构造带属性的棱锥的类 更多...
 
class  AMCAX::WithAttr< MakeRevol >
 构造带属性的旋转体的类 更多...
 
class  AMCAX::WithAttr< MakeChamfer >
 构造带属性的倒角的类 更多...
 
class  AMCAX::WithAttr< MakeFillet >
 构造带属性的圆角的类 更多...
 
class  AMCAX::WithAttr< TransformShape >
 构造带属性的变换的类 更多...
 
class  AMCAX::WithAttr< GeneralTransformShape >
 构造带属性的通用变换的类 更多...
 
class  AMCAX::WithAttr< TopoShape >
 构造带属性的拓扑形状的类 更多...
 
class  AMCAX::WithAttr< MakeBox >
 构造带属性的立方体的类 更多...
 
class  AMCAX::WithAttr< MakeCylinder >
 构造带属性的圆柱的类 更多...
 
class  AMCAX::WithAttr< MakeCone >
 构造带属性的圆锥的类 更多...
 
class  AMCAX::WithAttr< MakeEdge >
 构造带属性的边的类 更多...
 
class  AMCAX::WithAttr< MakeEdge2d >
 构造带属性的二维边的类 更多...
 
class  AMCAX::WithAttr< MakeFace >
 构造带属性的面的类 更多...
 
class  AMCAX::WithAttr< MakeHalfSpace >
 构造带属性的半空间的类 更多...
 
class  AMCAX::WithAttr< MakePolygon >
 构造带属性的多边形的类 更多...
 
class  AMCAX::WithAttr< MakeSolid >
 构造带属性的实体的类 更多...
 
class  AMCAX::WithAttr< MakeWire >
 构造带属性的环的类 更多...
 

命名空间

namespace  AMCAX
 AMCAX 内核提供的所有接口所在的命名空间。
 

宏定义

#define  DEFINE_CONSTRUCTOR_WITH_INIT(MAKER)
 
#define  DEFINE_CONSTRUCTOR_WITHOUT_INIT(MAKER)
 
#define  DEFINE_MODELLING_INIT_FUNC()
 

详细描述

带属性的建模类

支持带属性的建模操作

该文件是 AMCAX 内核的一部分

宏定义说明

◆ DEFINE_CONSTRUCTOR_WITH_INIT

#define DEFINE_CONSTRUCTOR_WITH_INIT ( MAKER )
值:
public: \
template<typename... Args> \
explicit WithAttr(Args&&... args): _maker(MAKER(std::forward<Args>(args)...)) { \
_maker.Build(); \
if (_maker.IsDone()) \
{ \
TopoShape shape = _maker.Shape(); \
_label.UpdateShape(shape); \
WithAttrBase::Build(); \
} \
}
STL namespace

◆ DEFINE_CONSTRUCTOR_WITHOUT_INIT

#define DEFINE_CONSTRUCTOR_WITHOUT_INIT ( MAKER )
值:
public: \
template<typename... Args> \
explicit WithAttr(Args&&... args) { \
TopoShape shape = MAKER(std::forward<Args>(args)...); \
_label.UpdateShape(shape); \
WithAttrBase::Build(); \
}

◆ DEFINE_MODELLING_INIT_FUNC

#define DEFINE_MODELLING_INIT_FUNC ( )
值:
public: \
template<typename... Args> \
void Init(Args&&... args) { \
_maker.Init(std::forward<Args>(args)...); \
if (_maker.IsDone()) \
{ \
TopoShape shape = _maker.Shape(); \
_label.UpdateShape(shape); \
WithAttrBase::Build(); \
} \
}