Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/opencascade/IntCurvesFace_Intersector.lxx is written in an unsupported language. File is not indexed.

0001 // Created on: 1996-06-03
0002 // Created by: Laurent BUCHARD
0003 // Copyright (c) 1996-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 //  Modified by skv - Wed Sep  3 15:33:17 2003 OCC578
0018 
0019 #include <IntCurveSurface_IntersectionPoint.hxx>
0020 #include <TopAbs_State.hxx>
0021 
0022 //============================================================================
0023 inline Standard_Boolean IntCurvesFace_Intersector::IsDone() const { 
0024   return(done);
0025 }
0026 //============================================================================
0027 inline Standard_Integer IntCurvesFace_Intersector::NbPnt() const { 
0028   return(nbpnt);
0029 }
0030 //============================================================================
0031 inline const gp_Pnt& IntCurvesFace_Intersector::Pnt(const Standard_Integer i ) const { 
0032   return(SeqPnt.Value(i).Pnt()); 
0033 }
0034 //============================================================================
0035 inline Standard_Real IntCurvesFace_Intersector::UParameter(const Standard_Integer i) const { 
0036   return(SeqPnt.Value(i).U()); 
0037 }
0038 //============================================================================
0039 inline Standard_Real IntCurvesFace_Intersector::VParameter(const Standard_Integer i) const { 
0040   return(SeqPnt.Value(i).V()); 
0041 }
0042 //============================================================================
0043 inline Standard_Real IntCurvesFace_Intersector::WParameter(const Standard_Integer i) const { 
0044   return(SeqPnt.Value(i).W()); 
0045 }
0046 //============================================================================
0047 inline IntCurveSurface_TransitionOnCurve IntCurvesFace_Intersector::Transition(const Standard_Integer i) const { 
0048   return(SeqPnt.Value(i).Transition()); 
0049 }
0050 //============================================================================
0051 //  Modified by skv - Wed Sep  3 15:34:18 2003 OCC578 Begin
0052 //  //inline TopAbs_State IntCurvesFace_Intersector::State(const Standard_Integer i) const { 
0053 // inline TopAbs_State IntCurvesFace_Intersector::State(const Standard_Integer ) const { 
0054 //   return(TopAbs_IN);
0055 // }
0056 inline TopAbs_State IntCurvesFace_Intersector::State(const Standard_Integer i) const { 
0057   return (mySeqState.Value(i) == 0) ? TopAbs_IN : TopAbs_ON;
0058 }
0059 //  Modified by skv - Wed Sep  3 15:34:20 2003 OCC578 End
0060 //============================================================================
0061 inline Standard_Boolean IntCurvesFace_Intersector::IsParallel() const {
0062   return myIsParallel;
0063 }
0064 inline const TopoDS_Face&  IntCurvesFace_Intersector::Face() const {
0065   return(face);
0066 }
0067 //============================================================================
0068