// 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 _IntCurveSurface_Intersection_HeaderFile #define _IntCurveSurface_Intersection_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _IntCurveSurface_SequenceOfPnt_HeaderFile #include #endif #ifndef _IntCurveSurface_SequenceOfSeg_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif class StdFail_NotDone; class Standard_OutOfRange; class IntCurveSurface_IntersectionPoint; class IntCurveSurface_IntersectionSegment; class IntCurveSurface_Intersection { 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); } //! returns the field.
Standard_EXPORT Standard_Boolean IsDone() const; //! returns the number of IntersectionPoint
//! if IsDone returns True.
//! else NotDone is raised.
Standard_EXPORT Standard_Integer NbPoints() const; //! returns the IntersectionPoint of range
//! raises NotDone if the computation has failed or if
//! the computation has not been done
//! raises OutOfRange if Index is not in the range <1..NbPoints>
Standard_EXPORT const IntCurveSurface_IntersectionPoint& Point(const Standard_Integer Index) const; //! returns the number of IntersectionSegment
//! if IsDone returns True.
//! else NotDone is raised.
Standard_EXPORT Standard_Integer NbSegments() const; //! returns the IntersectionSegment of range
//! raises NotDone if the computation has failed or if
//! the computation has not been done
//! raises OutOfRange if Index is not in the range <1..NbSegment>
Standard_EXPORT const IntCurveSurface_IntersectionSegment& Segment(const Standard_Integer Index) const; //! Dump all the fields.
Standard_EXPORT void Dump() const; protected: //! Empty Constructor;
Standard_EXPORT IntCurveSurface_Intersection(); //! Internal method
//! copy the fields to
Standard_EXPORT void SetValues(const IntCurveSurface_Intersection& Inter) ; //! Internal method
//! Append the IntersectionPoints and
//! IntersectionSegments of to .
Standard_EXPORT void Append(const IntCurveSurface_Intersection& Inter,const Standard_Real FirstParamOnCurve,const Standard_Real LastParamOnCurve) ; //! Internal method
//! Append the IntersectionPoints of to
Standard_EXPORT void Append(const IntCurveSurface_IntersectionPoint& Pt) ; //! Internal method
//! Append the IntersectionPoints of to
Standard_EXPORT void Append(const IntCurveSurface_IntersectionSegment& Seg) ; //! Internal method
//! Reset all the fields of
//! Clear the sequences of IntersectionPoints and Segments
//! Set the field to Standard_False.
Standard_EXPORT void ResetFields() ; Standard_Boolean done; private: IntCurveSurface_SequenceOfPnt lpnt; IntCurveSurface_SequenceOfSeg lseg; }; // other Inline functions and methods (like "C++: function call" methods) #endif