0024171: Eliminate CLang compiler warning -Wreorder
[occt.git] / src / ShapeAnalysis / ShapeAnalysis_Surface.lxx
CommitLineData
b311480e 1// Copyright (c) 1999-2012 OPEN CASCADE SAS
2//
3// The content of this file is subject to the Open CASCADE Technology Public
4// License Version 6.5 (the "License"). You may not use the content of this file
5// except in compliance with the License. Please obtain a copy of the License
6// at http://www.opencascade.org and read it completely before using this file.
7//
8// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
9// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
10//
11// The Original Code and all software distributed under the License is
12// distributed on an "AS IS" basis, without warranty of any kind, and the
13// Initial Developer hereby disclaims all such warranties, including without
14// limitation, any warranties of merchantability, fitness for a particular
15// purpose or non-infringement. Please see the License for the specific terms
16// and conditions governing the rights and limitations under the License.
17
7fd59977 18#include <Geom_Surface.hxx>
19
20//=======================================================================
21//function : Surface
22//purpose :
23//=======================================================================
24
25inline const Handle(Geom_Surface)& ShapeAnalysis_Surface::Surface() const
26{
27 return mySurf;
28}
29
30
31//=======================================================================
32//function : TrueAdaptor3d
33//purpose :
34//=======================================================================
35
36inline const Handle(GeomAdaptor_HSurface)& ShapeAnalysis_Surface::TrueAdaptor3d() const
37{
38 return myAdSur;
39}
40
41
42//=======================================================================
43//function : Gap
44//purpose :
45//=======================================================================
46
47inline Standard_Real ShapeAnalysis_Surface::Gap() const
48{
49 return myGap;
50}
51
52
53//=======================================================================
54//function : Value
55//purpose :
56//=======================================================================
57
58inline gp_Pnt ShapeAnalysis_Surface::Value (const Standard_Real u,
59 const Standard_Real v)
60{
61 return mySurf->Value ( u, v );
62}
63
64
65//=======================================================================
66//function : Value
67//purpose :
68//=======================================================================
69
70inline gp_Pnt ShapeAnalysis_Surface::Value(const gp_Pnt2d& p2d)
71{
72 return mySurf->Value ( p2d.X(), p2d.Y() );
73}
74
75
76//=======================================================================
77//function : Bounds
78//purpose :
79//=======================================================================
80
81inline void ShapeAnalysis_Surface::Bounds (Standard_Real& ufirst,
82 Standard_Real& ulast,
83 Standard_Real& vfirst,
84 Standard_Real& vlast) const
85{
86 ufirst = myUF;
87 ulast = myUL;
88 vfirst = myVF;
89 vlast = myVL;
90}
91
92//=======================================================================
93//function : UCloseVal
94//purpose :
95//=======================================================================
96
97inline Standard_Real ShapeAnalysis_Surface::UCloseVal() const
98{
99 return myUCloseVal;
100}
101
102//=======================================================================
103//function : VCloseVal
104//purpose :
105//=======================================================================
106
107inline Standard_Real ShapeAnalysis_Surface::VCloseVal() const
108{
109 return myVCloseVal;
110}