C++ veneer for STEP I/O.
More...
#include <occtl/occtl_io_step.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.
|
| std::pair< Graph, NodeId > | occtl::io_step::read (const std::string &thePath, const ReadOptions &theOptions=ReadOptions{}) |
| | Reads a STEP file into a fresh graph and returns (graph, root).
|
| |
| std::pair< Graph, NodeId > | occtl::io_step::read_memory (const uint8_t *const theData, const std::size_t theSize, const ReadOptions &theOptions=ReadOptions{}) |
| | Reads a STEP memory payload into a fresh graph and returns (graph, root).
|
| |
| std::pair< Graph, NodeId > | occtl::io_step::read_memory (const std::vector< uint8_t > &theData, const ReadOptions &theOptions=ReadOptions{}) |
| | Reads a STEP memory payload into a fresh graph and returns (graph, root).
|
| |
| void | occtl::io_step::write (const Graph &theGraph, const NodeId theRoot, const std::string &thePath, const WriteOptions &theOptions=WriteOptions{}) |
| | Writes the topology rooted at theRoot to a STEP file.
|
| |
| std::vector< uint8_t > | occtl::io_step::write_memory (const Graph &theGraph, const NodeId theRoot, const WriteOptions &theOptions=WriteOptions{}) |
| | Writes the topology rooted at theRoot into a STEP memory payload.
|
| |
◆ read()
| std::pair< Graph, NodeId > occtl::io_step::read |
( |
const std::string & |
thePath, |
|
|
const ReadOptions & |
theOptions = ReadOptions{} |
|
) |
| |
|
inline |
Reads a STEP file into a fresh graph and returns (graph, root).
- Exceptions
-
◆ read_memory() [1/2]
| std::pair< Graph, NodeId > occtl::io_step::read_memory |
( |
const std::vector< uint8_t > & |
theData, |
|
|
const ReadOptions & |
theOptions = ReadOptions{} |
|
) |
| |
|
inline |
Reads a STEP memory payload into a fresh graph and returns (graph, root).
- Exceptions
-
◆ read_memory() [2/2]
| std::pair< Graph, NodeId > occtl::io_step::read_memory |
( |
const uint8_t *const |
theData, |
|
|
const std::size_t |
theSize, |
|
|
const ReadOptions & |
theOptions = ReadOptions{} |
|
) |
| |
|
inline |
Reads a STEP memory payload into a fresh graph and returns (graph, root).
- Exceptions
-
◆ write()
Writes the topology rooted at theRoot to a STEP file.
- Exceptions
-
◆ write_memory()
Writes the topology rooted at theRoot into a STEP memory payload.
- Exceptions
-