Overview
This tutorial introduces the basic usage of the AMCAX IGES module.
Usage
Import the header files
Read TopoShape from iges/igs file
static AMCAX_API bool Read(TopoShape &s, const std::string &file)
Read a shape from a file.
Base class of shape, containing an underlying shape with a location and an orientation.
Definition: TopoShape.hpp:15
Write TopoShape to iges/igs file
static AMCAX_API bool Write(TopoShape &s, const std::string &file, int format=0)
Write a file from TopoShape.
Appendix
The complete code of this sample is listed here:
void test_all()
{
}
AMCAX_API bool IsNull() const
Is the shape null.