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
103
104
105
106
107
108
109
110
111
112
|
// 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 _IGESGraph_UniformRectGrid_HeaderFile
#define _IGESGraph_UniformRectGrid_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESGraph_UniformRectGrid_HeaderFile
#include <Handle_IGESGraph_UniformRectGrid.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _gp_XY_HeaderFile
#include <gp_XY.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
class gp_XY;
class gp_Pnt2d;
class gp_Vec2d;
//! defines IGESUniformRectGrid, Type <406> Form <22> <br>
//! in package IGESGraph <br>
class IGESGraph_UniformRectGrid : public IGESData_IGESEntity {
public:
Standard_EXPORT IGESGraph_UniformRectGrid();
//! This method is used to set the fields of the class <br>
//! UniformRectGrid <br>
//! - nbProps : Number of property values (NP = 9) <br>
//! - finite : Finite/Infinite grid flag <br>
//! - line : Line/Point grid flag <br>
//! - weighted : Weighted/Unweighted grid flag <br>
//! - aGridPoint : Point on the grid <br>
//! - aGridSpacing : Grid spacing <br>
//! - pointsX : No. of points/lines in X Direction <br>
//! - pointsY : No. of points/lines in Y Direction <br>
Standard_EXPORT void Init(const Standard_Integer nbProps,const Standard_Integer finite,const Standard_Integer line,const Standard_Integer weighted,const gp_XY& aGridPoint,const gp_XY& aGridSpacing,const Standard_Integer pointsX,const Standard_Integer pointsY) ;
//! returns the number of property values in <me>. <br>
Standard_EXPORT Standard_Integer NbPropertyValues() const;
//! returns False if <me> is an infinite grid, <br>
//! True if <me> is a finite grid. <br>
Standard_EXPORT Standard_Boolean IsFinite() const;
//! returns False if <me> is a Point grid, <br>
//! True if <me> is a Line grid. <br>
Standard_EXPORT Standard_Boolean IsLine() const;
//! returns False if <me> is a Weighted grid, <br>
//! True if <me> is not a Weighted grid. <br>
Standard_EXPORT Standard_Boolean IsWeighted() const;
//! returns coordinates of lower left corner, <br>
//! if <me> is a finite grid, <br>
//! coordinates of an arbitrary point, <br>
//! if <me> is an infinite grid. <br>
Standard_EXPORT gp_Pnt2d GridPoint() const;
//! returns the grid-spacing in drawing coordinates. <br>
Standard_EXPORT gp_Vec2d GridSpacing() const;
//! returns the no. of points/lines in X direction <br>
//! (only applicable if IsFinite() = 1, i.e: a finite grid). <br>
Standard_EXPORT Standard_Integer NbPointsX() const;
//! returns the no. of points/lines in Y direction <br>
//! (only applicable if IsFinite() = 1, i.e: a finite grid). <br>
Standard_EXPORT Standard_Integer NbPointsY() const;
DEFINE_STANDARD_RTTI(IGESGraph_UniformRectGrid)
protected:
private:
Standard_Integer theNbPropertyValues;
Standard_Integer isItFinite;
Standard_Integer isItLine;
Standard_Integer isItWeighted;
gp_XY theGridPoint;
gp_XY theGridSpacing;
Standard_Integer theNbPointsX;
Standard_Integer theNbPointsY;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|