File indexing completed on 2025-01-18 10:05:24
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRep_VPointInter_HeaderFile
0018 #define _TopOpeBRep_VPointInter_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <TopOpeBRep_PThePointOfIntersection.hxx>
0024 #include <Standard_Integer.hxx>
0025 #include <TopAbs_State.hxx>
0026 #include <TopoDS_Shape.hxx>
0027 #include <IntSurf_Transition.hxx>
0028 #include <Standard_OStream.hxx>
0029 class gp_Pnt;
0030 class gp_Pnt2d;
0031 class TopoDS_Edge;
0032 class TopoDS_Face;
0033
0034
0035
0036 class TopOpeBRep_VPointInter
0037 {
0038 public:
0039
0040 DEFINE_STANDARD_ALLOC
0041
0042
0043 TopOpeBRep_VPointInter();
0044
0045 Standard_EXPORT void SetPoint (const IntPatch_Point& P);
0046
0047 void SetShapes (const Standard_Integer I1, const Standard_Integer I2);
0048
0049 void GetShapes (Standard_Integer& I1, Standard_Integer& I2) const;
0050
0051 IntSurf_Transition TransitionOnS1() const;
0052
0053 IntSurf_Transition TransitionOnS2() const;
0054
0055 IntSurf_Transition TransitionLineArc1() const;
0056
0057 IntSurf_Transition TransitionLineArc2() const;
0058
0059 Standard_Boolean IsOnDomS1() const;
0060
0061 Standard_Boolean IsOnDomS2() const;
0062
0063 void ParametersOnS1 (Standard_Real& u, Standard_Real& v) const;
0064
0065 void ParametersOnS2 (Standard_Real& u, Standard_Real& v) const;
0066
0067 const gp_Pnt& Value() const;
0068
0069 Standard_Real Tolerance() const;
0070
0071 Standard_EXPORT const TopoDS_Shape& ArcOnS1() const;
0072
0073 Standard_EXPORT const TopoDS_Shape& ArcOnS2() const;
0074
0075 Standard_Real ParameterOnLine() const;
0076
0077 Standard_Real ParameterOnArc1() const;
0078
0079
0080
0081 Standard_Boolean IsVertexOnS1() const;
0082
0083
0084
0085
0086
0087 Standard_EXPORT const TopoDS_Shape& VertexOnS1() const;
0088
0089 Standard_Real ParameterOnArc2() const;
0090
0091
0092
0093 Standard_Boolean IsVertexOnS2() const;
0094
0095
0096
0097
0098
0099 Standard_EXPORT const TopoDS_Shape& VertexOnS2() const;
0100
0101 Standard_Boolean IsInternal() const;
0102
0103
0104
0105 Standard_Boolean IsMultiple() const;
0106
0107
0108
0109 Standard_EXPORT TopAbs_State State (const Standard_Integer I) const;
0110
0111
0112
0113 Standard_EXPORT void State (const TopAbs_State S, const Standard_Integer I);
0114
0115
0116
0117 Standard_EXPORT void EdgeON (const TopoDS_Shape& Eon, const Standard_Real Par, const Standard_Integer I);
0118
0119
0120 Standard_EXPORT const TopoDS_Shape& EdgeON (const Standard_Integer I) const;
0121
0122
0123 Standard_EXPORT Standard_Real EdgeONParameter (const Standard_Integer I) const;
0124
0125
0126
0127
0128
0129
0130 Standard_Integer ShapeIndex() const;
0131
0132
0133 void ShapeIndex (const Standard_Integer I);
0134
0135
0136
0137
0138 Standard_EXPORT const TopoDS_Shape& Edge (const Standard_Integer I) const;
0139
0140
0141 Standard_EXPORT Standard_Real EdgeParameter (const Standard_Integer I) const;
0142
0143
0144 Standard_EXPORT gp_Pnt2d SurfaceParameters (const Standard_Integer I) const;
0145
0146 Standard_EXPORT Standard_Boolean IsVertex (const Standard_Integer I) const;
0147
0148 Standard_EXPORT const TopoDS_Shape& Vertex (const Standard_Integer I) const;
0149
0150
0151 Standard_EXPORT void UpdateKeep();
0152
0153
0154
0155
0156
0157 Standard_Boolean Keep() const;
0158
0159
0160 void ChangeKeep (const Standard_Boolean keep);
0161
0162
0163
0164 Standard_EXPORT Standard_Boolean EqualpP (const TopOpeBRep_VPointInter& VP) const;
0165
0166
0167
0168 Standard_EXPORT Standard_Boolean ParonE (const TopoDS_Edge& E, Standard_Real& par) const;
0169
0170 void Index (const Standard_Integer I);
0171
0172 Standard_Integer Index() const;
0173
0174 Standard_EXPORT Standard_OStream& Dump (const Standard_Integer I, const TopoDS_Face& F, Standard_OStream& OS) const;
0175
0176 Standard_EXPORT Standard_OStream& Dump (const TopoDS_Face& F1, const TopoDS_Face& F2, Standard_OStream& OS) const;
0177
0178 Standard_EXPORT TopOpeBRep_PThePointOfIntersection PThePointOfIntersectionDummy() const;
0179
0180
0181
0182
0183 protected:
0184
0185
0186
0187
0188
0189 private:
0190
0191
0192
0193 TopOpeBRep_PThePointOfIntersection myPPOI;
0194 Standard_Integer myShapeIndex;
0195 TopAbs_State myState1;
0196 TopAbs_State myState2;
0197 Standard_Boolean myKeep;
0198 TopoDS_Shape myEdgeON1;
0199 TopoDS_Shape myEdgeON2;
0200 Standard_Real myEdgeONPar1;
0201 Standard_Real myEdgeONPar2;
0202 Standard_Integer myIndex;
0203 TopoDS_Shape myNullShape;
0204 Standard_Integer myS1;
0205 Standard_Integer myS2;
0206
0207
0208 };
0209
0210
0211 #include <TopOpeBRep_VPointInter.lxx>
0212
0213
0214
0215
0216
0217 #endif