0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / src / Extrema / Extrema_POnSurfParams.lxx
CommitLineData
973c2be1 1// Copyright (c) 1999-2014 OPEN CASCADE SAS
6060dd1f 2//
973c2be1 3// This file is part of Open CASCADE Technology software library.
6060dd1f 4//
d5f74e42 5// This library is free software; you can redistribute it and/or modify it under
6// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 7// by the Free Software Foundation, with special exception defined in the file
8// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9// distribution for complete text of the license and disclaimer of any warranty.
6060dd1f 10//
973c2be1 11// Alternatively, this file may be used under the terms of Open CASCADE
12// commercial license or contractual agreement.
6060dd1f 13
14inline Extrema_POnSurfParams::Extrema_POnSurfParams()
15: mySqrDistance (0.),
16 myElementType (Extrema_Node),
17 myIndexU (0),
18 myIndexV (0)
19{
20}
21
22inline Extrema_POnSurfParams::Extrema_POnSurfParams
23 (const Standard_Real theU, const Standard_Real theV, const gp_Pnt &thePnt)
24: Extrema_POnSurf (theU, theV, thePnt),
25 mySqrDistance (0.),
26 myElementType (Extrema_Node),
27 myIndexU (0),
28 myIndexV (0)
29{
30}
31
32inline void Extrema_POnSurfParams::SetSqrDistance
33 (const Standard_Real theSqrDistance)
34{
35 mySqrDistance = theSqrDistance;
36}
37
38inline Standard_Real Extrema_POnSurfParams::GetSqrDistance() const
39{
40 return mySqrDistance;
41}
42
43inline void Extrema_POnSurfParams::SetElementType
44 (const Extrema_ElementType theElementType)
45{
46 myElementType = theElementType;
47}
48
49inline Extrema_ElementType Extrema_POnSurfParams::GetElementType() const
50{
51 return myElementType;
52}
53
54inline void Extrema_POnSurfParams::SetIndices
55 (const Standard_Integer theIndexU,
56 const Standard_Integer theIndexV)
57{
58 myIndexU = theIndexU;
59 myIndexV = theIndexV;
60}
61
62inline void Extrema_POnSurfParams::GetIndices
63 (Standard_Integer &theIndexU,
64 Standard_Integer &theIndexV) const
65{
66 theIndexU = myIndexU;
67 theIndexV = myIndexV;
68}