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 _BRepFill_TrimSurfaceTool_HeaderFile
#define _BRepFill_TrimSurfaceTool_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _TopoDS_Face_HeaderFile
#include <TopoDS_Face.hxx>
#endif
#ifndef _TopoDS_Edge_HeaderFile
#include <TopoDS_Edge.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_Geom2d_Curve_HeaderFile
#include <Handle_Geom2d_Curve.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Handle_Geom_Curve_HeaderFile
#include <Handle_Geom_Curve.hxx>
#endif
#ifndef _GeomAbs_Shape_HeaderFile
#include <GeomAbs_Shape.hxx>
#endif
class Geom2d_Curve;
class Standard_NoSuchObject;
class TopoDS_Face;
class TopoDS_Edge;
class TColgp_SequenceOfPnt;
class gp_Pnt2d;
class Geom_Curve;
class BRepFill_TrimSurfaceTool {
public:
void* operator new(size_t,void* anAddress)
{
return anAddress;
}
void* operator new(size_t size)
{
return Standard::Allocate(size);
}
void operator delete(void *anAddress)
{
if (anAddress) Standard::Free((Standard_Address&)anAddress);
}
Standard_EXPORT BRepFill_TrimSurfaceTool(const Handle(Geom2d_Curve)& Bis,const TopoDS_Face& Face1,const TopoDS_Face& Face2,const TopoDS_Edge& Edge1,const TopoDS_Edge& Edge2,const Standard_Boolean Inv1,const Standard_Boolean Inv2);
//! Intersect <Bis> with the projection of the edges <br>
//! <EdgeOnFi> and returns the intersecting parameters <br>
//! on Bis and on the edges <br>
//! P.X() : Parameter on Bis <br>
//! P.Y() : Parameter on EdgeOnF1 <br>
//! P.Z() : Parameter on EdgeOnF2 <br>//! raises if <Edge> is not a edge of Face1 or Face2. <br>
Standard_EXPORT void IntersectWith(const TopoDS_Edge& EdgeOnF1,const TopoDS_Edge& EdgeOnF2,TColgp_SequenceOfPnt& Points) const;
//! returns True if the Line (P, DZ) intersect the Faces <br>
Standard_EXPORT Standard_Boolean IsOnFace(const gp_Pnt2d& Point) const;
//! returns the parameter of the point <Point> on the <br>
//! Edge <Edge>, assuming that the point is on the edge. <br>
Standard_EXPORT Standard_Real ProjOn(const gp_Pnt2d& Point,const TopoDS_Edge& Edge) const;
Standard_EXPORT void Project(const Standard_Real U1,const Standard_Real U2,Handle(Geom_Curve)& Curve,Handle(Geom2d_Curve)& PCurve1,Handle(Geom2d_Curve)& PCurve2,GeomAbs_Shape& myCont) const;
protected:
private:
TopoDS_Face myFace1;
TopoDS_Face myFace2;
TopoDS_Edge myEdge1;
TopoDS_Edge myEdge2;
Standard_Boolean myInv1;
Standard_Boolean myInv2;
Handle_Geom2d_Curve myBis;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|