mirror of https://github.com/vitalif/openscad
21 lines
464 B
C++
21 lines
464 B
C++
#ifndef CSGNODE_H_
|
|
#define CSGNODE_H_
|
|
|
|
#include "node.h"
|
|
#include "visitor.h"
|
|
#include "enums.h"
|
|
|
|
class CsgNode : public AbstractNode
|
|
{
|
|
public:
|
|
OpenSCADOperator type;
|
|
CsgNode(const ModuleInstantiation *mi, OpenSCADOperator type) : AbstractNode(mi), type(type) { }
|
|
virtual Response accept(class State &state, Visitor &visitor) const {
|
|
return visitor.visit(state, *this);
|
|
}
|
|
virtual std::string toString() const;
|
|
virtual std::string name() const;
|
|
};
|
|
|
|
#endif
|