// 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 _GeomLib_IsPlanarSurface_HeaderFile #define _GeomLib_IsPlanarSurface_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _gp_Pln_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Handle_Geom_Surface_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif class StdFail_NotDone; class Geom_Surface; class gp_Pln; //! Find if a surface is a planar surface.
class GeomLib_IsPlanarSurface { 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 GeomLib_IsPlanarSurface(const Handle(Geom_Surface)& S,const Standard_Real Tol = 1.0e-7); //! Return if the Surface is a plan
Standard_EXPORT Standard_Boolean IsPlanar() const; //! Return the plan definition
Standard_EXPORT const gp_Pln& Plan() const; protected: private: gp_Pln myPlan; Standard_Boolean IsPlan; }; // other Inline functions and methods (like "C++: function call" methods) #endif