0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / src / IntCurvesFace / IntCurvesFace_Intersector.lxx
CommitLineData
b311480e 1// Created on: 1996-06-03
2// Created by: Laurent BUCHARD
3// Copyright (c) 1996-1999 Matra Datavision
973c2be1 4// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5//
973c2be1 6// This file is part of Open CASCADE Technology software library.
b311480e 7//
d5f74e42 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
973c2be1 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.
b311480e 13//
973c2be1 14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
7fd59977 16
17// Modified by skv - Wed Sep 3 15:33:17 2003 OCC578
18
19#include <IntCurveSurface_IntersectionPoint.hxx>
20#include <TopAbs_State.hxx>
21
22//============================================================================
23inline Standard_Boolean IntCurvesFace_Intersector::IsDone() const {
24 return(done);
25}
26//============================================================================
27inline Standard_Integer IntCurvesFace_Intersector::NbPnt() const {
28 return(nbpnt);
29}
30//============================================================================
31inline const gp_Pnt& IntCurvesFace_Intersector::Pnt(const Standard_Integer i ) const {
32 return(SeqPnt.Value(i).Pnt());
33}
34//============================================================================
35inline Standard_Real IntCurvesFace_Intersector::UParameter(const Standard_Integer i) const {
36 return(SeqPnt.Value(i).U());
37}
38//============================================================================
39inline Standard_Real IntCurvesFace_Intersector::VParameter(const Standard_Integer i) const {
40 return(SeqPnt.Value(i).V());
41}
42//============================================================================
43inline Standard_Real IntCurvesFace_Intersector::WParameter(const Standard_Integer i) const {
44 return(SeqPnt.Value(i).W());
45}
46//============================================================================
47inline IntCurveSurface_TransitionOnCurve IntCurvesFace_Intersector::Transition(const Standard_Integer i) const {
48 return(SeqPnt.Value(i).Transition());
49}
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 {
54// return(TopAbs_IN);
55// }
56inline TopAbs_State IntCurvesFace_Intersector::State(const Standard_Integer i) const {
57 return (mySeqState.Value(i) == 0) ? TopAbs_IN : TopAbs_ON;
58}
59// Modified by skv - Wed Sep 3 15:34:20 2003 OCC578 End
60//============================================================================
f84edf58 61inline Standard_Boolean IntCurvesFace_Intersector::IsParallel() const {
62 return myIsParallel;
63}
64inline const TopoDS_Face& IntCurvesFace_Intersector::Face() const {
7fd59977 65 return(face);
66}
67//============================================================================
68