Geogram Version 1.9.7
A programming library of geometric algorithms
|
A parsed argument list in a .csg file. More...
#include <geogram/mesh/mesh_CSG_utils.h>
Public Types | |
typedef std::pair< std::string, Value > | Arg |
Public Member Functions | |
void | clear () |
index_t | size () const |
const std::string & | ith_arg_name (index_t i) const |
const Value & | ith_arg_val (index_t i) const |
void | add_arg (const std::string &name, const Value &value) |
bool | has_arg (const std::string &name) const |
const Value & | get_arg (const std::string &name) const |
double | get_arg (const std::string &name, double default_val) const |
int | get_arg (const std::string &name, int default_val) const |
bool | get_arg (const std::string &name, bool default_val) const |
vec2 | get_arg (const std::string &name, vec2 default_val) const |
vec3 | get_arg (const std::string &name, vec3 default_val) const |
vec4 | get_arg (const std::string &name, vec4 default_val) const |
mat4 | get_arg (const std::string &name, const mat4 &default_val) const |
std::string | get_arg (const std::string &name, const std::string &default_val) const |
std::string | get_arg (const std::string &name, const char *default_val) const |
A parsed argument list in a .csg file.
Stores name-value pairs.
Definition at line 83 of file mesh_CSG_utils.h.
typedef std::pair<std::string, Value> GEOCSG::ArgList::Arg |
Definition at line 85 of file mesh_CSG_utils.h.
|
inline |
Definition at line 87 of file mesh_CSG_utils.h.
|
inline |
Definition at line 118 of file mesh_CSG_utils.h.
|
inline |
Definition at line 95 of file mesh_CSG_utils.h.
Definition at line 100 of file mesh_CSG_utils.h.
|
inline |
Definition at line 91 of file mesh_CSG_utils.h.