blob: 09023152f76e30f06958b8558e30655cd6576621 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _IGESGeom_CurveOnSurface_HeaderFile
#define _IGESGeom_CurveOnSurface_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESGeom_CurveOnSurface_HeaderFile
#include <Handle_IGESGeom_CurveOnSurface.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_IGESData_IGESEntity_HeaderFile
#include <Handle_IGESData_IGESEntity.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
class IGESData_IGESEntity;
//! defines IGESCurveOnSurface, Type <142> Form <0> <br>
//! in package IGESGeom <br>
//! A curve on a parametric surface entity associates a given <br>
//! curve with a surface and identifies the curve as lying on <br>
//! the surface. <br>
class IGESGeom_CurveOnSurface : public IGESData_IGESEntity {
public:
Standard_EXPORT IGESGeom_CurveOnSurface();
//! This method is used to set the fields of the class <br>
//! CurveOnSurface <br>
//! - aMode : Way the curve on the surface has been created <br>
//! - aSurface : Surface on which the curve lies <br>
//! - aCurveUV : Curve S (UV) <br>
//! - aCurve3D : Curve C (3D) <br>
//! - aPreference : 0 = Unspecified <br>
//! 1 = S o B is preferred <br>
//! 2 = C is preferred <br>
//! 3 = C and S o B are equally preferred <br>
Standard_EXPORT void Init(const Standard_Integer aMode,const Handle(IGESData_IGESEntity)& aSurface,const Handle(IGESData_IGESEntity)& aCurveUV,const Handle(IGESData_IGESEntity)& aCurve3D,const Standard_Integer aPreference) ;
//! returns the mode in which the curve is created on the surface <br>
//! 0 = Unspecified <br>
//! 1 = Projection of a given curve on the surface <br>
//! 2 = Intersection of two surfaces <br>
//! 3 = Isoparametric curve, i.e:- either a `u` parametric <br>
//! or a `v` parametric curve <br>
Standard_EXPORT Standard_Integer CreationMode() const;
//! returns the surface on which the curve lies <br>
Standard_EXPORT Handle_IGESData_IGESEntity Surface() const;
//! returns curve S <br>
Standard_EXPORT Handle_IGESData_IGESEntity CurveUV() const;
//! returns curve C <br>
Standard_EXPORT Handle_IGESData_IGESEntity Curve3D() const;
//! returns preference mode <br>
//! 0 = Unspecified <br>
//! 1 = S o B is preferred <br>
//! 2 = C is preferred <br>
//! 3 = C and S o B are equally preferred <br>
Standard_EXPORT Standard_Integer PreferenceMode() const;
DEFINE_STANDARD_RTTI(IGESGeom_CurveOnSurface)
protected:
private:
Standard_Integer theCreationMode;
Handle_IGESData_IGESEntity theSurface;
Handle_IGESData_IGESEntity theCurveUV;
Handle_IGESData_IGESEntity theCurve3D;
Standard_Integer thePreferenceMode;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|