// 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 _Intf_Interference_HeaderFile #define _Intf_Interference_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Intf_SeqOfSectionPoint_HeaderFile #include #endif #ifndef _Intf_SeqOfSectionLine_HeaderFile #include #endif #ifndef _Intf_SeqOfTangentZone_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class Standard_OutOfRange; class Intf_SectionPoint; class Intf_SectionLine; class Intf_TangentZone; //! Describes the Interference computation result
//! between polygon2d or polygon3d or polyhedron.
class Intf_Interference { 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); } //! Gives the number of points of intersection in the
//! interference.
Standard_EXPORT Standard_Integer NbSectionPoints() const; //! Gives the point of intersection of address Index in
//! the interference.
Standard_EXPORT const Intf_SectionPoint& PntValue(const Standard_Integer Index) const; //! Gives the number of polylines of intersection in the
//! interference.
Standard_EXPORT Standard_Integer NbSectionLines() const; //! Gives the polyline of intersection at address in
//! the interference.
Standard_EXPORT const Intf_SectionLine& LineValue(const Standard_Integer Index) const; //! Gives the number of zones of tangence in the interference.
Standard_EXPORT Standard_Integer NbTangentZones() const; //! Gives the zone of tangence at address Index in the
//! interference.
Standard_EXPORT const Intf_TangentZone& ZoneValue(const Standard_Integer Index) const; //! Gives the tolerance used for the calculation.
Standard_EXPORT Standard_Real GetTolerance() const; //! Tests if the polylines of intersection or the zones of
//! tangence contain the point of intersection .
Standard_EXPORT Standard_Boolean Contains(const Intf_SectionPoint& ThePnt) const; //! Inserts a new zone of tangence in the current list of
//! tangent zones of the interference and returns True
//! when done.
Standard_EXPORT Standard_Boolean Insert(const Intf_TangentZone& TheZone) ; //! Insert a new segment of intersection in the current list of
//! polylines of intersection of the interference.
Standard_EXPORT void Insert(const Intf_SectionPoint& pdeb,const Intf_SectionPoint& pfin) ; Standard_EXPORT void Dump() const; protected: Standard_EXPORT Intf_Interference(const Standard_Boolean Self); //! Only one argument for the intersection.
Standard_EXPORT void SelfInterference(const Standard_Boolean Self) ; Intf_SeqOfSectionPoint mySPoins; Intf_SeqOfSectionLine mySLines; Intf_SeqOfTangentZone myTZones; Standard_Boolean SelfIntf; Standard_Real Tolerance; private: }; // other Inline functions and methods (like "C++: function call" methods) #endif