mirror of https://github.com/vitalif/openscad
18 lines
431 B
C++
18 lines
431 B
C++
#pragma once
|
|
|
|
#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;
|
|
};
|