blob: c95138a787202ee841edc6c92b0b56435774a403 (
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
// 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 _IGESSolid_EdgeList_HeaderFile
#define _IGESSolid_EdgeList_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESSolid_EdgeList_HeaderFile
#include <Handle_IGESSolid_EdgeList.hxx>
#endif
#ifndef _Handle_IGESData_HArray1OfIGESEntity_HeaderFile
#include <Handle_IGESData_HArray1OfIGESEntity.hxx>
#endif
#ifndef _Handle_IGESSolid_HArray1OfVertexList_HeaderFile
#include <Handle_IGESSolid_HArray1OfVertexList.hxx>
#endif
#ifndef _Handle_TColStd_HArray1OfInteger_HeaderFile
#include <Handle_TColStd_HArray1OfInteger.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_IGESData_IGESEntity_HeaderFile
#include <Handle_IGESData_IGESEntity.hxx>
#endif
#ifndef _Handle_IGESSolid_VertexList_HeaderFile
#include <Handle_IGESSolid_VertexList.hxx>
#endif
class IGESData_HArray1OfIGESEntity;
class IGESSolid_HArray1OfVertexList;
class TColStd_HArray1OfInteger;
class Standard_DimensionMismatch;
class Standard_OutOfRange;
class IGESData_IGESEntity;
class IGESSolid_VertexList;
//! defines EdgeList, Type <504> Form <1> <br>
//! in package IGESSolid <br>
//! EdgeList is defined as a segment joining two vertices <br>
class IGESSolid_EdgeList : public IGESData_IGESEntity {
public:
Standard_EXPORT IGESSolid_EdgeList();
//! This method is used to set the fields of the class <br>
//! EdgeList <br>
//! - curves : the model space curves <br>
//! - startVertexList : the vertex list that contains the <br>
//! start vertices <br>
//! - startVertexIndex : the index of the vertex in the <br>
//! corresponding vertex list <br>
//! - endVertexList : the vertex list that contains the <br>
//! end vertices <br>
//! - endVertexIndex : the index of the vertex in the <br>
//! corresponding vertex list <br>
//! raises exception if size of curves,startVertexList,startVertexIndex, <br>
//! endVertexList and endVertexIndex do no match <br>
Standard_EXPORT void Init(const Handle(IGESData_HArray1OfIGESEntity)& curves,const Handle(IGESSolid_HArray1OfVertexList)& startVertexList,const Handle(TColStd_HArray1OfInteger)& startVertexIndex,const Handle(IGESSolid_HArray1OfVertexList)& endVertexList,const Handle(TColStd_HArray1OfInteger)& endVertexIndex) ;
//! returns the number of edges in the edge list <br>
Standard_EXPORT Standard_Integer NbEdges() const;
//! returns the num'th model space curve <br>
//! raises Exception if num <= 0 or num > NbEdges() <br>
Standard_EXPORT Handle_IGESData_IGESEntity Curve(const Standard_Integer num) const;
//! returns the num'th start vertex list <br>
//! raises Exception if num <= 0 or num > NbEdges() <br>
Standard_EXPORT Handle_IGESSolid_VertexList StartVertexList(const Standard_Integer num) const;
//! returns the index of num'th start vertex in <br>
//! the corresponding start vertex list <br>
//! raises Exception if num <= 0 or num > NbEdges() <br>
Standard_EXPORT Standard_Integer StartVertexIndex(const Standard_Integer num) const;
//! returns the num'th end vertex list <br>
//! raises Exception if num <= 0 or num > NbEdges() <br>
Standard_EXPORT Handle_IGESSolid_VertexList EndVertexList(const Standard_Integer num) const;
//! returns the index of num'th end vertex in <br>
//! the corresponding end vertex list <br>
//! raises Exception if num <= 0 or num > NbEdges() <br>
Standard_EXPORT Standard_Integer EndVertexIndex(const Standard_Integer num) const;
DEFINE_STANDARD_RTTI(IGESSolid_EdgeList)
protected:
private:
Handle_IGESData_HArray1OfIGESEntity theCurves;
Handle_IGESSolid_HArray1OfVertexList theStartVertexList;
Handle_TColStd_HArray1OfInteger theStartVertexIndex;
Handle_IGESSolid_HArray1OfVertexList theEndVertexList;
Handle_TColStd_HArray1OfInteger theEndVertexIndex;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|