概述
本教程介绍 AMCAX IGES 模块的基本用法。
使用方式
引入头文件
从 iges/igs 文件中读取 TopoShape
static AMCAX_API bool Read(TopoShape &s, const std::string &file)
从文件中读取形状
Base class of shape, containing an underlying shape with a location and an orientation
定义 TopoShape.hpp:15
将 TopoShape 写入 iges/igs 文件
static AMCAX_API bool Write(const TopoShape &s, const std::string &file, int format=0)
将形状写入文件
附录
下面列出了此示例的完整代码:
void test_all()
{
}
AMCAX_API bool IsNull() const
Is the shape null