1 // Created on: 1996-06-03
2 // Created by: Laurent BUCHARD
3 // Copyright (c) 1996-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 // Modified by skv - Wed Sep 3 15:33:17 2003 OCC578
19 #include <IntCurveSurface_IntersectionPoint.hxx>
20 #include <TopAbs_State.hxx>
22 //============================================================================
23 inline Standard_Boolean IntCurvesFace_Intersector::IsDone() const {
26 //============================================================================
27 inline Standard_Integer IntCurvesFace_Intersector::NbPnt() const {
30 //============================================================================
31 inline const gp_Pnt& IntCurvesFace_Intersector::Pnt(const Standard_Integer i ) const {
32 return(SeqPnt.Value(i).Pnt());
34 //============================================================================
35 inline Standard_Real IntCurvesFace_Intersector::UParameter(const Standard_Integer i) const {
36 return(SeqPnt.Value(i).U());
38 //============================================================================
39 inline Standard_Real IntCurvesFace_Intersector::VParameter(const Standard_Integer i) const {
40 return(SeqPnt.Value(i).V());
42 //============================================================================
43 inline Standard_Real IntCurvesFace_Intersector::WParameter(const Standard_Integer i) const {
44 return(SeqPnt.Value(i).W());
46 //============================================================================
47 inline IntCurveSurface_TransitionOnCurve IntCurvesFace_Intersector::Transition(const Standard_Integer i) const {
48 return(SeqPnt.Value(i).Transition());
50 //============================================================================
51 // Modified by skv - Wed Sep 3 15:34:18 2003 OCC578 Begin
52 // //inline TopAbs_State IntCurvesFace_Intersector::State(const Standard_Integer i) const {
53 // inline TopAbs_State IntCurvesFace_Intersector::State(const Standard_Integer ) const {
56 inline TopAbs_State IntCurvesFace_Intersector::State(const Standard_Integer i) const {
57 return (mySeqState.Value(i) == 0) ? TopAbs_IN : TopAbs_ON;
59 // Modified by skv - Wed Sep 3 15:34:20 2003 OCC578 End
60 //============================================================================
61 inline Standard_Boolean IntCurvesFace_Intersector::IsParallel() const {
64 inline const TopoDS_Face& IntCurvesFace_Intersector::Face() const {
67 //============================================================================