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 bool IntCurvesFace_Intersector::IsDone() const
0024 {
0025   return (done);
0026 }
0027 
0028 //============================================================================
0029 inline int IntCurvesFace_Intersector::NbPnt() const
0030 {
0031   return (nbpnt);
0032 }
0033 
0034 //============================================================================
0035 inline const gp_Pnt& IntCurvesFace_Intersector::Pnt(const int i) const
0036 {
0037   return (SeqPnt.Value(i).Pnt());
0038 }
0039 
0040 //============================================================================
0041 inline double IntCurvesFace_Intersector::UParameter(const int i) const
0042 {
0043   return (SeqPnt.Value(i).U());
0044 }
0045 
0046 //============================================================================
0047 inline double IntCurvesFace_Intersector::VParameter(const int i) const
0048 {
0049   return (SeqPnt.Value(i).V());
0050 }
0051 
0052 //============================================================================
0053 inline double IntCurvesFace_Intersector::WParameter(const int i) const
0054 {
0055   return (SeqPnt.Value(i).W());
0056 }
0057 
0058 //============================================================================
0059 inline IntCurveSurface_TransitionOnCurve IntCurvesFace_Intersector::Transition(const int i) const
0060 {
0061   return (SeqPnt.Value(i).Transition());
0062 }
0063 
0064 //============================================================================
0065 //  Modified by skv - Wed Sep  3 15:34:18 2003 OCC578 Begin
0066 //  //inline TopAbs_State IntCurvesFace_Intersector::State(const int i) const {
0067 // inline TopAbs_State IntCurvesFace_Intersector::State(const int ) const {
0068 //   return(TopAbs_IN);
0069 // }
0070 inline TopAbs_State IntCurvesFace_Intersector::State(const int i) const
0071 {
0072   return (mySeqState.Value(i) == 0) ? TopAbs_IN : TopAbs_ON;
0073 }
0074 
0075 //  Modified by skv - Wed Sep  3 15:34:20 2003 OCC578 End
0076 //============================================================================
0077 inline bool IntCurvesFace_Intersector::IsParallel() const
0078 {
0079   return myIsParallel;
0080 }
0081 
0082 inline const TopoDS_Face& IntCurvesFace_Intersector::Face() const
0083 {
0084   return (face);
0085 }
0086 
0087 //============================================================================