2 #include "HEXABLOCK.hxx"
7 #include "hexa_base.hxx"
8 #include "HexCylinder_impl.hxx"
9 #include "HexVertex_impl.hxx"
10 #include "HexVector_impl.hxx"
12 Cylinder_impl::Cylinder_impl( HEXA_NS::Cylinder *ptrCpp ):_cylinder_cpp(ptrCpp)
16 HEXA_NS::Cylinder* Cylinder_impl::GetImpl()
17 throw (SALOME::SALOME_Exception)
23 Vertex_ptr Cylinder_impl::getBase()
24 throw (SALOME::SALOME_Exception)
26 Vertex_ptr result = Vertex::_nil();
28 HEXA_NS::Vertex* v = _cylinder_cpp->getBase();
30 Vertex_impl* servantCorba = new Vertex_impl(v);
31 result = servantCorba->_this();
37 Vector_ptr Cylinder_impl::getDirection()
38 throw (SALOME::SALOME_Exception)
40 Vector_ptr result = Vector::_nil();
42 HEXA_NS::Vector* v = _cylinder_cpp->getDirection();
44 Vector_impl* servantCorba = new Vector_impl(v);
45 result = servantCorba->_this();
51 ::CORBA::Double Cylinder_impl::getRadius()
52 throw (SALOME::SALOME_Exception)
54 ::CORBA::Double d = _cylinder_cpp->getRadius();
59 ::CORBA::Double Cylinder_impl::getHeight()
60 throw (SALOME::SALOME_Exception)
62 ::CORBA::Double d = _cylinder_cpp->getHeight();
67 void Cylinder_impl::dump() throw (SALOME::SALOME_Exception)
69 _cylinder_cpp->dump();
73 void Cylinder_impl::printName() throw (SALOME::SALOME_Exception)
75 _cylinder_cpp->printName();
78 // ::CORBA::Long Cylinder_impl::saveVtk(const char* fname) throw (SALOME::SALOME_Exception)
80 // ::CORBA::Long ret = _cylinder_cpp->saveVtk( fname );