// Created on: 1996-06-03
// Created by: Laurent BUCHARD
// Copyright (c) 1996-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.

//  Modified by skv - Wed Sep  3 15:33:17 2003 OCC578

#include "IntCurveSurface_IntersectionPoint.hxx"
#include "TopAbs_State.hxx"

//============================================================================
inline bool IntCurvesFace_Intersector::IsDone() const
{
  return (done);
}

//============================================================================
inline int IntCurvesFace_Intersector::NbPnt() const
{
  return (nbpnt);
}

//============================================================================
inline const gp_Pnt& IntCurvesFace_Intersector::Pnt(const int i) const
{
  return (SeqPnt.Value(i).Pnt());
}

//============================================================================
inline double IntCurvesFace_Intersector::UParameter(const int i) const
{
  return (SeqPnt.Value(i).U());
}

//============================================================================
inline double IntCurvesFace_Intersector::VParameter(const int i) const
{
  return (SeqPnt.Value(i).V());
}

//============================================================================
inline double IntCurvesFace_Intersector::WParameter(const int i) const
{
  return (SeqPnt.Value(i).W());
}

//============================================================================
inline IntCurveSurface_TransitionOnCurve IntCurvesFace_Intersector::Transition(const int i) const
{
  return (SeqPnt.Value(i).Transition());
}

//============================================================================
//  Modified by skv - Wed Sep  3 15:34:18 2003 OCC578 Begin
//  //inline TopAbs_State IntCurvesFace_Intersector::State(const int i) const {
// inline TopAbs_State IntCurvesFace_Intersector::State(const int ) const {
//   return(TopAbs_IN);
// }
inline TopAbs_State IntCurvesFace_Intersector::State(const int i) const
{
  return (mySeqState.Value(i) == 0) ? TopAbs_IN : TopAbs_ON;
}

//  Modified by skv - Wed Sep  3 15:34:20 2003 OCC578 End
//============================================================================
inline bool IntCurvesFace_Intersector::IsParallel() const
{
  return myIsParallel;
}

inline const TopoDS_Face& IntCurvesFace_Intersector::Face() const
{
  return (face);
}

//============================================================================
