// File generated by CPPExt (Transient)
//
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _IntPatch_TheIWLineOfTheIWalkingOfTheIPIntOfIntersection_HeaderFile
#define _IntPatch_TheIWLineOfTheIWalkingOfTheIPIntOfIntersection_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_IntPatch_TheIWLineOfTheIWalkingOfTheIPIntOfIntersection_HeaderFile
#include <Handle_IntPatch_TheIWLineOfTheIWalkingOfTheIPIntOfIntersection.hxx>
#endif

#ifndef _Handle_IntSurf_LineOn2S_HeaderFile
#include <Handle_IntSurf_LineOn2S.hxx>
#endif
#ifndef _IntSurf_SequenceOfCouple_HeaderFile
#include <IntSurf_SequenceOfCouple.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _IntSurf_PathPoint_HeaderFile
#include <IntSurf_PathPoint.hxx>
#endif
#ifndef _gp_Vec_HeaderFile
#include <gp_Vec.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
class IntSurf_LineOn2S;
class Standard_OutOfRange;
class Standard_DomainError;
class IntSurf_PathPoint;
class IntSurf_PntOn2S;
class gp_Vec;



class IntPatch_TheIWLineOfTheIWalkingOfTheIPIntOfIntersection : public MMgt_TShared {

public:
 // Methods PUBLIC
 // 


Standard_EXPORT IntPatch_TheIWLineOfTheIWalkingOfTheIPIntOfIntersection();


Standard_EXPORT   void Reverse() ;

  void Cut(const Standard_Integer Index) ;

  void AddPoint(const IntSurf_PntOn2S& P) ;

  void AddStatusFirst(const Standard_Boolean Closed,const Standard_Boolean HasFirst) ;

  void AddStatusFirst(const Standard_Boolean Closed,const Standard_Boolean HasLast,const Standard_Integer Index,const IntSurf_PathPoint& P) ;

  void AddStatusFirstLast(const Standard_Boolean Closed,const Standard_Boolean HasFirst,const Standard_Boolean HasLast) ;

  void AddStatusLast(const Standard_Boolean HasLast) ;

  void AddStatusLast(const Standard_Boolean HasLast,const Standard_Integer Index,const IntSurf_PathPoint& P) ;

  void AddIndexPassing(const Standard_Integer Index) ;

  void SetTangentVector(const gp_Vec& V,const Standard_Integer Index) ;

  void SetTangencyAtBegining(const Standard_Boolean IsTangent) ;

  void SetTangencyAtEnd(const Standard_Boolean IsTangent) ;

  Standard_Integer NbPoints() const;

 const IntSurf_PntOn2S& Value(const Standard_Integer Index) const;

 const Handle_IntSurf_LineOn2S& Line() const;

  Standard_Boolean IsClosed() const;

  Standard_Boolean HasFirstPoint() const;

  Standard_Boolean HasLastPoint() const;

 const IntSurf_PathPoint& FirstPoint() const;

  Standard_Integer FirstPointIndex() const;

 const IntSurf_PathPoint& LastPoint() const;

  Standard_Integer LastPointIndex() const;

  Standard_Integer NbPassingPoint() const;

  void PassingPoint(const Standard_Integer Index,Standard_Integer& IndexLine,Standard_Integer& IndexPnts) const;

 const gp_Vec& TangentVector(Standard_Integer& Index) const;

  Standard_Boolean IsTangentAtBegining() const;

  Standard_Boolean IsTangentAtEnd() const;
//Standard_EXPORT ~IntPatch_TheIWLineOfTheIWalkingOfTheIPIntOfIntersection();




 // Type management
 //
 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
 //Standard_EXPORT Standard_Boolean	       IsKind(const Handle(Standard_Type)&) const;

protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //
Handle_IntSurf_LineOn2S line;
IntSurf_SequenceOfCouple couple;
Standard_Boolean closed;
Standard_Boolean hasFirst;
Standard_Boolean hasLast;
Standard_Integer firstIndex;
Standard_Integer lastIndex;
IntSurf_PathPoint theFirstPoint;
IntSurf_PathPoint theLastPoint;
Standard_Integer indextg;
gp_Vec vcttg;
Standard_Boolean istgtbeg;
Standard_Boolean istgtend;


};

#define TheStartPoint IntSurf_PathPoint
#define TheStartPoint_hxx <IntSurf_PathPoint.hxx>
#define IntWalk_IWLine IntPatch_TheIWLineOfTheIWalkingOfTheIPIntOfIntersection
#define IntWalk_IWLine_hxx <IntPatch_TheIWLineOfTheIWalkingOfTheIPIntOfIntersection.hxx>
#define Handle_IntWalk_IWLine Handle_IntPatch_TheIWLineOfTheIWalkingOfTheIPIntOfIntersection
#define IntWalk_IWLine_Type_() IntPatch_TheIWLineOfTheIWalkingOfTheIPIntOfIntersection_Type_()

#include <IntWalk_IWLine.lxx>

#undef TheStartPoint
#undef TheStartPoint_hxx
#undef IntWalk_IWLine
#undef IntWalk_IWLine_hxx
#undef Handle_IntWalk_IWLine
#undef IntWalk_IWLine_Type_


// other Inline functions and methods (like "C++: function call" methods)
//


#endif
