File indexing completed on 2025-01-18 10:03:08
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepBlend_Extremity_HeaderFile
0018 #define _BRepBlend_Extremity_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <BRepBlend_SequenceOfPointOnRst.hxx>
0025 #include <gp_Pnt.hxx>
0026 #include <gp_Vec.hxx>
0027 #include <Standard_Real.hxx>
0028 #include <Standard_Boolean.hxx>
0029 #include <Standard_Integer.hxx>
0030 class Adaptor3d_HVertex;
0031 class IntSurf_Transition;
0032 class BRepBlend_PointOnRst;
0033
0034
0035
0036 class BRepBlend_Extremity
0037 {
0038 public:
0039
0040 DEFINE_STANDARD_ALLOC
0041
0042
0043 Standard_EXPORT BRepBlend_Extremity();
0044
0045
0046 Standard_EXPORT BRepBlend_Extremity(const gp_Pnt& P, const Standard_Real U, const Standard_Real V, const Standard_Real Param, const Standard_Real Tol);
0047
0048
0049
0050 Standard_EXPORT BRepBlend_Extremity(const gp_Pnt& P, const Standard_Real U, const Standard_Real V, const Standard_Real Param, const Standard_Real Tol, const Handle(Adaptor3d_HVertex)& Vtx);
0051
0052
0053 Standard_EXPORT BRepBlend_Extremity(const gp_Pnt& P, const Standard_Real W, const Standard_Real Param, const Standard_Real Tol);
0054
0055
0056 Standard_EXPORT void SetValue (const gp_Pnt& P, const Standard_Real U, const Standard_Real V, const Standard_Real Param, const Standard_Real Tol);
0057
0058
0059
0060 Standard_EXPORT void SetValue (const gp_Pnt& P, const Standard_Real U, const Standard_Real V, const Standard_Real Param, const Standard_Real Tol, const Handle(Adaptor3d_HVertex)& Vtx);
0061
0062
0063 Standard_EXPORT void SetValue (const gp_Pnt& P, const Standard_Real W, const Standard_Real Param, const Standard_Real Tol);
0064
0065
0066 const gp_Pnt& Value() const;
0067
0068
0069
0070 void SetTangent (const gp_Vec& Tangent);
0071
0072
0073 Standard_Boolean HasTangent() const;
0074
0075
0076
0077 const gp_Vec& Tangent() const;
0078
0079
0080
0081 Standard_Real Tolerance() const;
0082
0083
0084 Standard_EXPORT void SetVertex (const Handle(Adaptor3d_HVertex)& V);
0085
0086
0087
0088 Standard_EXPORT void AddArc (const Handle(Adaptor2d_Curve2d)& A, const Standard_Real Param, const IntSurf_Transition& TLine, const IntSurf_Transition& TArc);
0089
0090
0091
0092 void Parameters (Standard_Real& U, Standard_Real& V) const;
0093
0094
0095
0096 Standard_Boolean IsVertex() const;
0097
0098
0099 const Handle(Adaptor3d_HVertex)& Vertex() const;
0100
0101
0102
0103
0104
0105
0106
0107
0108 Standard_Integer NbPointOnRst() const;
0109
0110 const BRepBlend_PointOnRst& PointOnRst (const Standard_Integer Index) const;
0111
0112 Standard_Real Parameter() const;
0113
0114 Standard_Real ParameterOnGuide() const;
0115
0116
0117
0118
0119 protected:
0120
0121
0122
0123
0124
0125 private:
0126
0127
0128
0129 Handle(Adaptor3d_HVertex) vtx;
0130 BRepBlend_SequenceOfPointOnRst seqpt;
0131 gp_Pnt pt;
0132 gp_Vec tang;
0133 Standard_Real param;
0134 Standard_Real u;
0135 Standard_Real v;
0136 Standard_Real tol;
0137 Standard_Boolean isvtx;
0138 Standard_Boolean hastang;
0139
0140
0141 };
0142
0143
0144 #include <BRepBlend_Extremity.lxx>
0145
0146
0147
0148
0149
0150 #endif