// 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 _StdPrs_Plane_HeaderFile #define _StdPrs_Plane_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Prs3d_Root_HeaderFile #include #endif #ifndef _Handle_Prs3d_Presentation_HeaderFile #include #endif #ifndef _Handle_Prs3d_Drawer_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Quantity_Length_HeaderFile #include #endif class Prs3d_Presentation; class Adaptor3d_Surface; class Prs3d_Drawer; //! A framework to display infinite planes.
class StdPrs_Plane : public Prs3d_Root { 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); } //! Defines display of infinite planes.
//! The infinite plane aPlane is added to the display
//! aPresentation, and the attributes of the display are
//! defined by the attribute manager aDrawer.
Standard_EXPORT static void Add(const Handle(Prs3d_Presentation)& aPresentation,const Adaptor3d_Surface& aPlane,const Handle(Prs3d_Drawer)& aDrawer) ; //! returns true if the distance between the point (X,Y,Z) and the
//! plane is less than aDistance.
Standard_EXPORT static Standard_Boolean Match(const Quantity_Length X,const Quantity_Length Y,const Quantity_Length Z,const Quantity_Length aDistance,const Adaptor3d_Surface& aPlane,const Handle(Prs3d_Drawer)& aDrawer) ; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif