1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
3 // This file is part of Open CASCADE Technology software library.
5 // This library is free software; you can redistribute it and / or modify it
6 // under the terms of the GNU Lesser General Public version 2.1 as published
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.
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
14 #include <StepGeom_SurfacePatch.ixx>
17 StepGeom_SurfacePatch::StepGeom_SurfacePatch () {}
19 void StepGeom_SurfacePatch::Init(
20 const Handle(StepGeom_BoundedSurface)& aParentSurface,
21 const StepGeom_TransitionCode aUTransition,
22 const StepGeom_TransitionCode aVTransition,
23 const Standard_Boolean aUSense,
24 const Standard_Boolean aVSense)
26 // --- classe own fields ---
27 parentSurface = aParentSurface;
28 uTransition = aUTransition;
29 vTransition = aVTransition;
35 void StepGeom_SurfacePatch::SetParentSurface(const Handle(StepGeom_BoundedSurface)& aParentSurface)
37 parentSurface = aParentSurface;
40 Handle(StepGeom_BoundedSurface) StepGeom_SurfacePatch::ParentSurface() const
45 void StepGeom_SurfacePatch::SetUTransition(const StepGeom_TransitionCode aUTransition)
47 uTransition = aUTransition;
50 StepGeom_TransitionCode StepGeom_SurfacePatch::UTransition() const
55 void StepGeom_SurfacePatch::SetVTransition(const StepGeom_TransitionCode aVTransition)
57 vTransition = aVTransition;
60 StepGeom_TransitionCode StepGeom_SurfacePatch::VTransition() const
65 void StepGeom_SurfacePatch::SetUSense(const Standard_Boolean aUSense)
70 Standard_Boolean StepGeom_SurfacePatch::USense() const
75 void StepGeom_SurfacePatch::SetVSense(const Standard_Boolean aVSense)
80 Standard_Boolean StepGeom_SurfacePatch::VSense() const