AMCAX Kernel 1.0.0.0
Loading...
Searching...
No Matches
WithAttrModeling.hpp File Reference

The classes of WithAttrModeling. More...

+ Include dependency graph for WithAttrModeling.hpp:

Classes

class  AMCAX::WithAttr< MakePrism >
 The class of WithAttr<MakePrism> More...
 
class  AMCAX::WithAttr< MakeSphere >
 The class of WithAttr<MakeSphere> More...
 
class  AMCAX::WithAttr< MakeTorus >
 The class of WithAttr<MakeTorus> More...
 
class  AMCAX::WithAttr< MakePipe >
 The class of WithAttr<MakePipe> More...
 
class  AMCAX::WithAttr< MakePyramid >
 The class of WithAttr<MakePyramid> More...
 
class  AMCAX::WithAttr< MakeRevol >
 The class of WithAttr<MakeRevol> More...
 
class  AMCAX::WithAttr< MakeChamfer >
 The class of WithAttr<MakeChamfer> More...
 
class  AMCAX::WithAttr< MakeFillet >
 The class of WithAttr<MakeFillet> More...
 
class  AMCAX::WithAttr< TransformShape >
 The class of WithAttr<TransformShape> More...
 
class  AMCAX::WithAttr< GeneralTransformShape >
 The class of WithAttr<GeneralTransformShape> More...
 
class  AMCAX::WithAttr< TopoShape >
 The class of WithAttr<TopoShape> More...
 
class  AMCAX::WithAttr< MakeBox >
 The class of WithAttr<MakeBox> More...
 
class  AMCAX::WithAttr< MakeCylinder >
 The class of WithAttr<MakeCylinder> More...
 
class  AMCAX::WithAttr< MakeCone >
 The class of WithAttr<MakeCone> More...
 
class  AMCAX::WithAttr< MakeEdge >
 The class of WithAttr<MakeEdge> More...
 
class  AMCAX::WithAttr< MakeEdge2d >
 The class of WithAttr<MakeEdge2d> More...
 
class  AMCAX::WithAttr< MakeFace >
 The class of WithAttr<MakeFace> More...
 
class  AMCAX::WithAttr< MakeHalfSpace >
 The class of WithAttr<MakeHalfSpace> More...
 
class  AMCAX::WithAttr< MakePolygon >
 The class of WithAttr<MakePolygon> More...
 
class  AMCAX::WithAttr< MakeSolid >
 The class of WithAttr<MakeSolid> More...
 
class  AMCAX::WithAttr< MakeWire >
 The class of WithAttr<MakeWire> More...
 

Namespaces

namespace  AMCAX
 Namespace of all interface in the AMCAX kernel.
 

Macros

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

Detailed Description

The classes of WithAttrModeling.

Support the modeling operations with attributes.

This file is part of AMCAX Kernel.

Macro Definition Documentation

◆ DEFINE_CONSTRUCTOR_WITH_INIT

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

◆ DEFINE_CONSTRUCTOR_WITHOUT_INIT

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

◆ DEFINE_MODELLING_INIT_FUNC

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