// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _GProp_VelGProps_HeaderFile #define _GProp_VelGProps_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _GProp_GProps_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif class gp_Cylinder; class gp_Pnt; class gp_Cone; class gp_Sphere; class gp_Torus; //! Computes the global properties of a geometric solid
//! (3D closed region of space)
//! The solid can be elementary(definition in the gp package)
class GProp_VelGProps : public GProp_GProps { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } Standard_EXPORT GProp_VelGProps(); Standard_EXPORT GProp_VelGProps(const gp_Cylinder& S,const Standard_Real Alpha1,const Standard_Real Alpha2,const Standard_Real Z1,const Standard_Real Z2,const gp_Pnt& VLocation); Standard_EXPORT GProp_VelGProps(const gp_Cone& S,const Standard_Real Alpha1,const Standard_Real Alpha2,const Standard_Real Z1,const Standard_Real Z2,const gp_Pnt& VLocation); Standard_EXPORT GProp_VelGProps(const gp_Sphere& S,const Standard_Real Teta1,const Standard_Real Teta2,const Standard_Real Alpha1,const Standard_Real Alpha2,const gp_Pnt& VLocation); Standard_EXPORT GProp_VelGProps(const gp_Torus& S,const Standard_Real Teta1,const Standard_Real Teta2,const Standard_Real Alpha1,const Standard_Real Alpha2,const gp_Pnt& VLocation); Standard_EXPORT void SetLocation(const gp_Pnt& VLocation) ; Standard_EXPORT void Perform(const gp_Cylinder& S,const Standard_Real Alpha1,const Standard_Real Alpha2,const Standard_Real Z1,const Standard_Real Z2) ; Standard_EXPORT void Perform(const gp_Cone& S,const Standard_Real Alpha1,const Standard_Real Alpha2,const Standard_Real Z1,const Standard_Real Z2) ; Standard_EXPORT void Perform(const gp_Sphere& S,const Standard_Real Teta1,const Standard_Real Teta2,const Standard_Real Alpha1,const Standard_Real Alpha2) ; Standard_EXPORT void Perform(const gp_Torus& S,const Standard_Real Teta1,const Standard_Real Teta2,const Standard_Real Alpha1,const Standard_Real Alpha2) ; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif