0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / src / BRepFilletAPI / BRepFilletAPI_LocalOperation.hxx
CommitLineData
42cf5bc1 1// Created on: 1998-01-29
2// Created by: Laurent BOURESCHE
3// Copyright (c) 1998-1999 Matra Datavision
4// Copyright (c) 1999-2014 OPEN CASCADE SAS
5//
6// This file is part of Open CASCADE Technology software library.
7//
8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _BRepFilletAPI_LocalOperation_HeaderFile
18#define _BRepFilletAPI_LocalOperation_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24#include <BRepBuilderAPI_MakeShape.hxx>
25#include <Standard_Integer.hxx>
42cf5bc1 26#include <ChFiDS_SecHArray1.hxx>
27class TopoDS_Edge;
28class TopoDS_Vertex;
29
30
31//! Construction of fillets on the edges of a Shell.
32class BRepFilletAPI_LocalOperation : public BRepBuilderAPI_MakeShape
33{
34public:
35
36 DEFINE_STANDARD_ALLOC
37
38
39 //! Adds a contour in the builder (builds a
40 //! contour of tangent edges).
41 Standard_EXPORT virtual void Add (const TopoDS_Edge& E) = 0;
42
43 //! Reset the contour of index IC, there is nomore
44 //! information in the contour.
45 Standard_EXPORT virtual void ResetContour (const Standard_Integer IC) = 0;
46
47 //! Number of contours.
48 Standard_EXPORT virtual Standard_Integer NbContours() const = 0;
49
50 //! Returns the index of the contour containing the edge
51 //! E, returns 0 if E doesn't belong to any contour.
52 Standard_EXPORT virtual Standard_Integer Contour (const TopoDS_Edge& E) const = 0;
53
54 //! Number of Edges in the contour I.
55 Standard_EXPORT virtual Standard_Integer NbEdges (const Standard_Integer I) const = 0;
56
57 //! Returns the Edge J in the contour I.
58 Standard_EXPORT virtual const TopoDS_Edge& Edge (const Standard_Integer I, const Standard_Integer J) const = 0;
59
60 //! remove the contour containing the Edge E.
61 Standard_EXPORT virtual void Remove (const TopoDS_Edge& E) = 0;
62
63 //! returns the length the contour of index IC.
64 Standard_EXPORT virtual Standard_Real Length (const Standard_Integer IC) const = 0;
65
66 //! Returns the first Vertex of the contour of index IC.
67 Standard_EXPORT virtual TopoDS_Vertex FirstVertex (const Standard_Integer IC) const = 0;
68
69 //! Returns the last Vertex of the contour of index IC.
70 Standard_EXPORT virtual TopoDS_Vertex LastVertex (const Standard_Integer IC) const = 0;
71
72 //! returns the abscissa of the vertex V on
73 //! the contour of index IC.
74 Standard_EXPORT virtual Standard_Real Abscissa (const Standard_Integer IC, const TopoDS_Vertex& V) const = 0;
75
76 //! returns the relative abscissa([0.,1.]) of the
77 //! vertex V on the contour of index IC.
78 Standard_EXPORT virtual Standard_Real RelativeAbscissa (const Standard_Integer IC, const TopoDS_Vertex& V) const = 0;
79
80 //! returns true if the contour of index IC is closed
81 //! an tangent.
82 Standard_EXPORT virtual Standard_Boolean ClosedAndTangent (const Standard_Integer IC) const = 0;
83
84 //! returns true if the contour of index IC is closed
85 Standard_EXPORT virtual Standard_Boolean Closed (const Standard_Integer IC) const = 0;
86
87 //! Reset all the fields updated by Build operation and
88 //! leave the algorithm in the same state than before
89 //! build call. It allows contours and radius
90 //! modifications to build the result another time.
91 Standard_EXPORT virtual void Reset() = 0;
92
93 Standard_EXPORT virtual void Simulate (const Standard_Integer IC) = 0;
94
95 Standard_EXPORT virtual Standard_Integer NbSurf (const Standard_Integer IC) const = 0;
96
97 Standard_EXPORT virtual Handle(ChFiDS_SecHArray1) Sect (const Standard_Integer IC, const Standard_Integer IS) const = 0;
98
99
100
101
102protected:
103
104
105
106
107
108private:
109
110
111
112
113
114};
115
116
117
118
119
120
121
122#endif // _BRepFilletAPI_LocalOperation_HeaderFile