// Created on: 1993-11-10 // Created by: Jean Yves LEBEY // Copyright (c) 1993-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #include //======================================================================= //function : TopOpeBRep_VPointInter //purpose : //======================================================================= inline TopOpeBRep_VPointInter::TopOpeBRep_VPointInter() : myPPOI(NULL), myShapeIndex(0), myState1(TopAbs_UNKNOWN), myState2(TopAbs_UNKNOWN), myKeep(Standard_False), myEdgeONPar1(0.), myEdgeONPar2(0.), myIndex(0), myS1(0),myS2(0) { } //======================================================================= //function : SetShapes //purpose : //======================================================================= inline void TopOpeBRep_VPointInter::SetShapes(const Standard_Integer I1,const Standard_Integer I2) { myS1 = I1; myS2 = I2; } //======================================================================= //function : GetShapes //purpose : //======================================================================= inline void TopOpeBRep_VPointInter::GetShapes(Standard_Integer& I1,Standard_Integer& I2) const { I1 = myS1; I2 = myS2; } //======================================================================= //function : TransitionOnS1 //purpose : //======================================================================= inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionOnS1() const { return myPPOI->TransitionOnS1(); } //======================================================================= //function : TransitionOnS2 //purpose : //======================================================================= inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionOnS2() const { return myPPOI->TransitionOnS2(); } //======================================================================= //function : TransitionLineArc1 //purpose : //======================================================================= inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionLineArc1() const { return myPPOI->TransitionLineArc1(); } //======================================================================= //function : TransitionLineArc2 //purpose : //======================================================================= inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionLineArc2() const { return myPPOI->TransitionLineArc2(); } //======================================================================= //function : IsOnDomS1 //purpose : //======================================================================= inline Standard_Boolean TopOpeBRep_VPointInter::IsOnDomS1() const { return myPPOI->IsOnDomS1(); } //======================================================================= //function : IsOnDomS2 //purpose : //======================================================================= inline Standard_Boolean TopOpeBRep_VPointInter::IsOnDomS2() const { return myPPOI->IsOnDomS2(); } //======================================================================= //function : ParametersOnS1 //purpose : //======================================================================= inline void TopOpeBRep_VPointInter::ParametersOnS1(Standard_Real& u, Standard_Real& v) const { myPPOI->ParametersOnS1(u,v); } //======================================================================= //function : ParametersOnS2 //purpose : //======================================================================= inline void TopOpeBRep_VPointInter::ParametersOnS2(Standard_Real& u, Standard_Real& v) const { myPPOI->ParametersOnS2(u,v); } //======================================================================= //function : Value //purpose : //======================================================================= inline const gp_Pnt& TopOpeBRep_VPointInter::Value() const { return myPPOI->Value(); } //======================================================================= //function : Tolerance //purpose : //======================================================================= inline Standard_Real TopOpeBRep_VPointInter::Tolerance() const { return myPPOI->Tolerance(); } //======================================================================= //function : ParameterOnLine //purpose : //======================================================================= inline Standard_Real TopOpeBRep_VPointInter::ParameterOnLine() const { return myPPOI->ParameterOnLine(); } //======================================================================= //function : ParameterOnArc1 //purpose : //======================================================================= inline Standard_Real TopOpeBRep_VPointInter::ParameterOnArc1() const { return myPPOI->ParameterOnArc1(); } //======================================================================= //function : ParameterOnArc2 //purpose : //======================================================================= inline Standard_Real TopOpeBRep_VPointInter::ParameterOnArc2() const { return myPPOI->ParameterOnArc2(); } //======================================================================= //function : IsVertexOnS1 //purpose : //======================================================================= inline Standard_Boolean TopOpeBRep_VPointInter::IsVertexOnS1() const { return myPPOI->IsVertexOnS1(); } //======================================================================= //function : IsVertexOnS2 //purpose : //======================================================================= inline Standard_Boolean TopOpeBRep_VPointInter::IsVertexOnS2() const { return myPPOI->IsVertexOnS2(); } //======================================================================= //function : IsMultiple //purpose : //======================================================================= inline Standard_Boolean TopOpeBRep_VPointInter::IsMultiple() const { return myPPOI->IsMultiple(); } //======================================================================= //function : IsInternal //purpose : //======================================================================= inline Standard_Boolean TopOpeBRep_VPointInter::IsInternal() const { return Standard_False; } //======================================================================= //function : ShapeIndex //purpose : //======================================================================= inline Standard_Integer TopOpeBRep_VPointInter::ShapeIndex() const { return myShapeIndex; } //======================================================================= //function : ShapeIndex //purpose : //======================================================================= inline void TopOpeBRep_VPointInter::ShapeIndex(const Standard_Integer I) { myShapeIndex = I; } //======================================================================= //function : Keep //purpose : //======================================================================= inline Standard_Boolean TopOpeBRep_VPointInter::Keep() const { return myKeep; } //======================================================================= //function : ChangeKeep //purpose : //======================================================================= inline void TopOpeBRep_VPointInter::ChangeKeep(const Standard_Boolean keep) { myKeep = keep; } //======================================================================= //function : Index //purpose : trace //======================================================================= inline void TopOpeBRep_VPointInter::Index(const Standard_Integer I) { myIndex = I; } //======================================================================= //function : Index //purpose : trace //======================================================================= inline Standard_Integer TopOpeBRep_VPointInter::Index() const { return myIndex; }