1 #include "GeoModelKernel/GeoUnidentifiedShape.h" 2 #include "GeoModelKernel/Query.h" 3 #include "GeoModelKernel/GeoShapeAction.h" 5 const std::string GeoUnidentifiedShape::_classType=
"UnidentifiedShape";
6 const ShapeType GeoUnidentifiedShape::_classTypeID=0xFFFFFFFF;
9 GeoUnidentifiedShape::~GeoUnidentifiedShape() {
13 GeoUnidentifiedShape::GeoUnidentifiedShape(
const std::string & name):
17 GeoUnidentifiedShape::GeoUnidentifiedShape(
const std::string & name,
const std::string & asciiData) :
19 _asciiData(asciiData) {}
22 GeoUnidentifiedShape::GeoUnidentifiedShape(
const std::string & name,
const std::string & asciiData,
double volume):
24 _asciiData(asciiData),
28 const std::string & GeoUnidentifiedShape::name()
const {
33 const std::string & GeoUnidentifiedShape::asciiData()
const {
38 double GeoUnidentifiedShape::volume ()
const {
43 const std::string & GeoUnidentifiedShape::type ()
const {
48 ShapeType GeoUnidentifiedShape::typeID ()
const {
54 action->handleUnidentifiedShape(
this);
This class is a visitor for shapes. It allows a navigation of the boolean expression tree for shapes...