|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
C++ veneer for native BRep I/O. More...
#include <occtl/occtl_io_brep.h>#include <occtl-hpp/core.hpp>#include <occtl-hpp/topo.hpp>#include <cstddef>#include <cstdint>#include <string>#include <utility>#include <vector>
Go to the source code of this file.
Classes | |
| struct | occtl::io_brep::WriteOptions |
Options for write. PascalCase mirror of occtl_io_brep_write_options_t. The output format (binary / ASCII) is managed internally by the OCCT DEBREP_Provider. More... | |
Functions | |
| std::pair< Graph, NodeId > | occtl::io_brep::read (const std::string &thePath) |
| Reads a BRep file into a fresh graph and returns (graph, root). | |
| void | occtl::io_brep::write (const Graph &theGraph, const NodeId theRoot, const std::string &thePath, const WriteOptions &theOptions=WriteOptions{}) |
Writes the topology rooted at theRoot to a BRep file. | |
C++ veneer for native BRep I/O.
|
inline |
Reads a BRep file into a fresh graph and returns (graph, root).
| Error | on failure. |
|
inline |
Writes the topology rooted at theRoot to a BRep file.
| Error | on failure. |