Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Copyright (c) 1995-1999 Matra Datavision
0002 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0003 //
0004 // This file is part of Open CASCADE Technology software library.
0005 //
0006 // This library is free software; you can redistribute it and/or modify it under
0007 // the terms of the GNU Lesser General Public License version 2.1 as published
0008 // by the Free Software Foundation, with special exception defined in the file
0009 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0010 // distribution for complete text of the license and disclaimer of any warranty.
0011 //
0012 // Alternatively, this file may be used under the terms of Open CASCADE
0013 // commercial license or contractual agreement.
0014 
0015 inline void IntSurf_PntOn2S::SetValue (const gp_Pnt& Pt ) {
0016 
0017   pt = Pt;
0018 }
0019 
0020 
0021 inline void IntSurf_PntOn2S::SetValue (const gp_Pnt& Pt,
0022                                        const Standard_Real U1,
0023                                        const Standard_Real V1,
0024                                        const Standard_Real U2,
0025                                        const Standard_Real V2) {
0026 
0027   pt = Pt;
0028   u1 = U1;
0029   v1 = V1;
0030   u2 = U2;
0031   v2 = V2;
0032 }
0033 
0034 inline void IntSurf_PntOn2S::SetValue (const Standard_Real U1,
0035                                        const Standard_Real V1,
0036                                        const Standard_Real U2,
0037                                        const Standard_Real V2) {
0038   u1 = U1;
0039   v1 = V1;
0040   u2 = U2;
0041   v2 = V2;
0042 }
0043 
0044 
0045 inline const gp_Pnt& IntSurf_PntOn2S::Value () const {
0046 
0047   return pt;
0048 }
0049 
0050 
0051 inline void IntSurf_PntOn2S::ParametersOnS1 (Standard_Real& U1,
0052                                              Standard_Real& V1) const
0053 {
0054   U1 = u1;
0055   V1 = v1;
0056 }
0057 
0058 
0059 inline void IntSurf_PntOn2S::ParametersOnS2 (Standard_Real& U2,
0060                                              Standard_Real& V2) const
0061 {
0062   U2 = u2;
0063   V2 = v2;
0064 }
0065 
0066 inline void IntSurf_PntOn2S::Parameters (Standard_Real& U1,
0067                                          Standard_Real& V1,
0068                                          Standard_Real& U2,
0069                                          Standard_Real& V2) const
0070 {
0071   U1 = u1;
0072   V1 = v1;
0073   U2 = u2;
0074   V2 = v2;
0075 }
0076 
0077 
0078