mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-21 12:22:06 +08:00
27 lines
708 B
C++
Executable File
27 lines
708 B
C++
Executable File
// File: BRepMesh_PluginMacro.hxx
|
|
// Created: Fri Apr 11 09:11:08 2008
|
|
// Author: Peter KURNEV
|
|
// <pkv@irinox>
|
|
|
|
|
|
#ifndef BRepMesh_PluginMacro_HeaderFile
|
|
#define BRepMesh_PluginMacro_HeaderFile
|
|
|
|
#define DISCRETPLUGIN(name) \
|
|
extern "C" {Standard_EXPORT Standard_Integer DISCRETALGO(const TopoDS_Shape& ,\
|
|
const Standard_Real,\
|
|
const Standard_Real,\
|
|
BRepMesh_PDiscretRoot& );} \
|
|
Standard_Integer DISCRETALGO(const TopoDS_Shape& theShape,\
|
|
const Standard_Real theDeflection,\
|
|
const Standard_Real theAngle,\
|
|
BRepMesh_PDiscretRoot& theAlgo) { \
|
|
return name::Discret(theShape,\
|
|
theDeflection,\
|
|
theAngle,\
|
|
theAlgo);} \
|
|
\
|
|
|
|
|
|
#endif
|