Geogram  Version 1.9.1
A programming library of geometric algorithms
GEO::CSGCompiler::Value Struct Reference

A parsed value in a .csg file. More...

#include <geogram/mesh/mesh_CSG.h>

Public Types

enum  Type {
  NONE , NUMBER , BOOLEAN , ARRAY1D ,
  ARRAY2D , STRING
}
 

Public Member Functions

 Value (double x)
 
 Value (int x)
 
 Value (bool x)
 
 Value (const std::string &x)
 
std::string to_string () const
 

Public Attributes

Type type
 
bool boolean_val
 
double number_val
 
vector< vector< double > > array_val
 
std::string string_val
 

Detailed Description

A parsed value in a .csg file.

Can be a number, a boolean, a 1d array or a 2d array

Definition at line 497 of file mesh_CSG.h.


The documentation for this struct was generated from the following file: