Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0002 //
0003 // This file is part of Open CASCADE Technology software library.
0004 //
0005 // This library is free software; you can redistribute it and/or modify it under
0006 // the terms of the GNU Lesser General Public License version 2.1 as published
0007 // by the Free Software Foundation, with special exception defined in the file
0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0009 // distribution for complete text of the license and disclaimer of any warranty.
0010 //
0011 // Alternatively, this file may be used under the terms of Open CASCADE
0012 // commercial license or contractual agreement.
0013 
0014 inline Extrema_POnSurfParams::Extrema_POnSurfParams()
0015 : mySqrDistance (0.),
0016   myElementType (Extrema_Node),
0017   myIndexU      (0),
0018   myIndexV      (0)
0019 {
0020 }
0021 
0022 inline Extrema_POnSurfParams::Extrema_POnSurfParams
0023    (const Standard_Real theU, const Standard_Real theV, const gp_Pnt &thePnt)
0024 : Extrema_POnSurf (theU, theV, thePnt),
0025   mySqrDistance   (0.),
0026   myElementType   (Extrema_Node),
0027   myIndexU        (0),
0028   myIndexV        (0)
0029 {
0030 }
0031 
0032 inline void Extrema_POnSurfParams::SetSqrDistance
0033         (const Standard_Real theSqrDistance)
0034 {
0035   mySqrDistance = theSqrDistance;
0036 }
0037 
0038 inline Standard_Real Extrema_POnSurfParams::GetSqrDistance() const
0039 {
0040   return mySqrDistance;
0041 }
0042 
0043 inline void Extrema_POnSurfParams::SetElementType
0044         (const Extrema_ElementType theElementType)
0045 {
0046   myElementType = theElementType;
0047 }
0048 
0049 inline Extrema_ElementType Extrema_POnSurfParams::GetElementType() const
0050 {
0051   return myElementType;
0052 }
0053     
0054 inline void Extrema_POnSurfParams::SetIndices
0055                           (const Standard_Integer theIndexU,
0056                            const Standard_Integer theIndexV)
0057 {
0058   myIndexU = theIndexU;
0059   myIndexV = theIndexV;
0060 }                          
0061 
0062 inline void Extrema_POnSurfParams::GetIndices
0063                   (Standard_Integer &theIndexU,
0064                    Standard_Integer &theIndexV) const
0065 {
0066   theIndexU = myIndexU;
0067   theIndexV = myIndexV;
0068 }