1 // Created by: CKY / Contract Toubro-Larsen
2 // Copyright (c) 1993-1999 Matra Datavision
3 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and / or modify it
8 // under the terms of the GNU Lesser General Public version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 //--------------------------------------------------------------------
17 //--------------------------------------------------------------------
19 #include <IGESGeom_CurveOnSurface.ixx>
22 IGESGeom_CurveOnSurface::IGESGeom_CurveOnSurface () { }
25 void IGESGeom_CurveOnSurface::Init
26 (const Standard_Integer aMode,
27 const Handle(IGESData_IGESEntity)& aSurface,
28 const Handle(IGESData_IGESEntity)& aCurveUV,
29 const Handle(IGESData_IGESEntity)& aCurve3D,
30 const Standard_Integer aPreference)
32 theCreationMode = aMode;
33 theSurface = aSurface;
34 theCurveUV = aCurveUV;
35 theCurve3D = aCurve3D;
36 thePreferenceMode = aPreference;
37 InitTypeAndForm(142,0);
40 Standard_Integer IGESGeom_CurveOnSurface::CreationMode () const
42 return theCreationMode;
45 Handle(IGESData_IGESEntity) IGESGeom_CurveOnSurface::Surface () const
50 Handle(IGESData_IGESEntity) IGESGeom_CurveOnSurface::CurveUV () const
55 Handle(IGESData_IGESEntity) IGESGeom_CurveOnSurface::Curve3D () const
60 Standard_Integer IGESGeom_CurveOnSurface::PreferenceMode () const
62 return thePreferenceMode;