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 <Standard_DomainError.hxx>
18 inline void IntPatch_Line::SetValue (const Standard_Boolean Uiso1,
19 const Standard_Boolean Viso1,
20 const Standard_Boolean Uiso2,
21 const Standard_Boolean Viso2) {
29 inline IntPatch_IType IntPatch_Line::ArcType () const {
33 inline Standard_Boolean IntPatch_Line::IsTangent () const {
39 inline IntSurf_TypeTrans IntPatch_Line::TransitionOnS1 () const {
45 inline IntSurf_TypeTrans IntPatch_Line::TransitionOnS2 () const {
51 inline IntSurf_Situation IntPatch_Line::SituationS1 () const {
53 if (tS1 != IntSurf_Touch) {throw Standard_DomainError();}
58 inline IntSurf_Situation IntPatch_Line::SituationS2 () const {
60 if (tS2 != IntSurf_Touch) {throw Standard_DomainError();}
65 inline Standard_Boolean IntPatch_Line::IsUIsoOnS1 () const {
71 inline Standard_Boolean IntPatch_Line::IsVIsoOnS1 () const {
77 inline Standard_Boolean IntPatch_Line::IsUIsoOnS2 () const {
84 inline Standard_Boolean IntPatch_Line::IsVIsoOnS2 () const {