A Scope corresponds to a set of primitive between curly braces in OpenSCAD, arguments of an operation. It is implemented as a vector of meshes.
More...
#include <geogram/mesh/mesh_CSG_builder.h>
A Scope corresponds to a set of primitive between curly braces in OpenSCAD, arguments of an operation. It is implemented as a vector of meshes.
Definition at line 283 of file mesh_CSG_builder.h.
◆ CSGScope() [1/3]
| GEO::CSGScope::CSGScope |
( |
| ) |
|
|
inline |
◆ CSGScope() [2/3]
| GEO::CSGScope::CSGScope |
( |
std::shared_ptr< Mesh > |
M | ) |
|
|
inline |
◆ CSGScope() [3/3]
| GEO::CSGScope::CSGScope |
( |
const std::initializer_list< std::shared_ptr< Mesh > > & |
Ms | ) |
|
|
inline |
Constructs a CSGScope from a list of meshes.
- Parameters
-
| [in] | Ms | the list of meshes (specified between curly braces) |
Definition at line 303 of file mesh_CSG_builder.h.
◆ append() [1/2]
template<typename... Types>
| void GEO::CSGScope::append |
( |
std::shared_ptr< Mesh > |
head, |
|
|
Types... |
tail |
|
) |
| |
|
inline |
◆ append() [2/2]
| void GEO::CSGScope::append |
( |
std::shared_ptr< Mesh > |
M | ) |
|
|
inline |
◆ begin() [1/2]
| auto GEO::CSGScope::begin |
( |
| ) |
|
|
inline |
◆ begin() [2/2]
| auto GEO::CSGScope::begin |
( |
| ) |
const |
|
inline |
◆ emplace_back()
| void GEO::CSGScope::emplace_back |
( |
std::shared_ptr< Mesh > |
M | ) |
|
|
inline |
◆ end() [1/2]
| auto GEO::CSGScope::end |
( |
| ) |
|
|
inline |
◆ end() [2/2]
| auto GEO::CSGScope::end |
( |
| ) |
const |
|
inline |
◆ operator[]()
| const std::shared_ptr< Mesh > & GEO::CSGScope::operator[] |
( |
index_t |
i | ) |
const |
|
inline |
◆ pop_back()
| void GEO::CSGScope::pop_back |
( |
| ) |
|
|
inline |
◆ push_back()
| void GEO::CSGScope::push_back |
( |
std::shared_ptr< Mesh > |
M | ) |
|
|
inline |
◆ rbegin() [1/2]
| auto GEO::CSGScope::rbegin |
( |
| ) |
|
|
inline |
◆ rbegin() [2/2]
| auto GEO::CSGScope::rbegin |
( |
| ) |
const |
|
inline |
◆ rend() [1/2]
| auto GEO::CSGScope::rend |
( |
| ) |
|
|
inline |
◆ rend() [2/2]
| auto GEO::CSGScope::rend |
( |
| ) |
const |
|
inline |
◆ size()
| index_t GEO::CSGScope::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: