1 // Copyright (c) 1995-1999 Matra Datavision
2 // Copyright (c) 1999-2014 OPEN CASCADE SAS
4 // This file is part of Open CASCADE Technology software library.
6 // This library is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU Lesser General Public License version 2.1 as published
8 // by the Free Software Foundation, with special exception defined in the file
9 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 // distribution for complete text of the license and disclaimer of any warranty.
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
15 #include <StdFail_NotDone.hxx>
16 #include <IntPatch_Line.hxx>
26 //======================================================================
27 inline Standard_Integer IntPatch_PrmPrmIntersection::NbLines() const {
29 throw StdFail_NotDone(" IntPatch_PrmPrmIntersection ");
30 return(SLin.Length());
33 //======================================================================
34 inline const Handle(IntPatch_Line)& IntPatch_PrmPrmIntersection::Line
35 (const Standard_Integer n) const {
37 throw StdFail_NotDone(" IntPatch_PrmPrmIntersection ");
38 return(SLin.Value(n));
41 //======================================================================
42 inline Standard_Boolean IntPatch_PrmPrmIntersection::IsEmpty() const {
44 throw StdFail_NotDone(" IntPatch_PrmPrmIntersection ");
48 //======================================================================
49 inline Standard_Boolean IntPatch_PrmPrmIntersection::IsDone() const {
53 inline Standard_Integer IntPatch_PrmPrmIntersection::GrilleInteger(const Standard_Integer ix,
54 const Standard_Integer iy,
55 const Standard_Integer iz) const
57 Standard_Integer tz = iz<<_DECAL2;
58 Standard_Integer ty = iy<<_DECAL;
59 Standard_Integer t = ix;
65 inline void IntPatch_PrmPrmIntersection::IntegerGrille(const Standard_Integer tt,
68 Standard_Integer &iz) const
70 Standard_Integer t = tt;
78 inline Standard_Integer IntPatch_PrmPrmIntersection::DansGrille(const Standard_Integer t) const
88 inline Standard_Integer IntPatch_PrmPrmIntersection::NbPointsGrille() const
92 inline Standard_Integer IntPatch_PrmPrmIntersection::CodeReject(const Standard_Real x0,
93 const Standard_Real y0,
94 const Standard_Real z0,
95 const Standard_Real x1,
96 const Standard_Real y1,
97 const Standard_Real z1,
98 const Standard_Real x,
99 const Standard_Real y,
100 const Standard_Real z) const