// 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 _BRepClass3d_SolidClassifier_HeaderFile #define _BRepClass3d_SolidClassifier_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _BRepClass3d_SolidExplorer_HeaderFile #include #endif #ifndef _BRepClass3d_SClassifier_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif class Standard_DomainError; class TopoDS_Shape; class gp_Pnt; //! Provides an algorithm to classify a point in a solid.
class BRepClass3d_SolidClassifier : public BRepClass3d_SClassifier { 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); } //! empty constructor
Standard_EXPORT BRepClass3d_SolidClassifier(); Standard_EXPORT void Load(const TopoDS_Shape& S) ; //! Constructor from a Shape.
Standard_EXPORT BRepClass3d_SolidClassifier(const TopoDS_Shape& S); //! Constructor to classify the point P with the
//! tolerance Tol on the solid S.
Standard_EXPORT BRepClass3d_SolidClassifier(const TopoDS_Shape& S,const gp_Pnt& P,const Standard_Real Tol); //! Classify the point P with the
//! tolerance Tol on the solid S.
Standard_EXPORT void Perform(const gp_Pnt& P,const Standard_Real Tol) ; //! Classify an infinite point with the
//! tolerance Tol on the solid S.
//! Useful for compute the orientation of a solid.
Standard_EXPORT void PerformInfinitePoint(const Standard_Real Tol) ; Standard_EXPORT void Destroy() ; ~BRepClass3d_SolidClassifier() { Destroy(); } protected: private: Standard_Boolean aSolidLoaded; BRepClass3d_SolidExplorer explorer; Standard_Boolean isaholeinspace; }; // other Inline functions and methods (like "C++: function call" methods) #endif