File indexing completed on 2025-01-18 10:04:12
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _LocalAnalysis_SurfaceContinuity_HeaderFile
0018 #define _LocalAnalysis_SurfaceContinuity_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <GeomAbs_Shape.hxx>
0025 #include <LocalAnalysis_StatusErrorType.hxx>
0026 class Geom_Surface;
0027 class Geom2d_Curve;
0028 class GeomLProp_SLProps;
0029
0030
0031
0032
0033
0034 class LocalAnalysis_SurfaceContinuity
0035 {
0036 public:
0037
0038 DEFINE_STANDARD_ALLOC
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072
0073
0074
0075
0076
0077
0078
0079
0080
0081
0082
0083
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097
0098
0099
0100
0101
0102
0103
0104
0105
0106
0107
0108
0109
0110
0111
0112
0113
0114
0115
0116
0117
0118
0119
0120
0121
0122
0123
0124
0125 Standard_EXPORT LocalAnalysis_SurfaceContinuity(const Handle(Geom_Surface)& Surf1, const Standard_Real u1, const Standard_Real v1, const Handle(Geom_Surface)& Surf2, const Standard_Real u2, const Standard_Real v2, const GeomAbs_Shape Order, const Standard_Real EpsNul = 0.001, const Standard_Real EpsC0 = 0.001, const Standard_Real EpsC1 = 0.001, const Standard_Real EpsC2 = 0.001, const Standard_Real EpsG1 = 0.001, const Standard_Real Percent = 0.01, const Standard_Real Maxlen = 10000);
0126
0127 Standard_EXPORT LocalAnalysis_SurfaceContinuity(const Handle(Geom2d_Curve)& curv1, const Handle(Geom2d_Curve)& curv2, const Standard_Real U, const Handle(Geom_Surface)& Surf1, const Handle(Geom_Surface)& Surf2, const GeomAbs_Shape Order, const Standard_Real EpsNul = 0.001, const Standard_Real EpsC0 = 0.001, const Standard_Real EpsC1 = 0.001, const Standard_Real EpsC2 = 0.001, const Standard_Real EpsG1 = 0.001, const Standard_Real Percent = 0.01, const Standard_Real Maxlen = 10000);
0128
0129
0130
0131
0132 Standard_EXPORT LocalAnalysis_SurfaceContinuity(const Standard_Real EpsNul = 0.001, const Standard_Real EpsC0 = 0.001, const Standard_Real EpsC1 = 0.001, const Standard_Real EpsC2 = 0.001, const Standard_Real EpsG1 = 0.001, const Standard_Real Percent = 0.01, const Standard_Real Maxlen = 10000);
0133
0134 Standard_EXPORT void ComputeAnalysis (GeomLProp_SLProps& Surf1, GeomLProp_SLProps& Surf2, const GeomAbs_Shape Order);
0135
0136 Standard_EXPORT Standard_Boolean IsDone() const;
0137
0138 Standard_EXPORT GeomAbs_Shape ContinuityStatus() const;
0139
0140 Standard_EXPORT LocalAnalysis_StatusErrorType StatusError() const;
0141
0142 Standard_EXPORT Standard_Real C0Value() const;
0143
0144 Standard_EXPORT Standard_Real C1UAngle() const;
0145
0146 Standard_EXPORT Standard_Real C1URatio() const;
0147
0148 Standard_EXPORT Standard_Real C1VAngle() const;
0149
0150 Standard_EXPORT Standard_Real C1VRatio() const;
0151
0152 Standard_EXPORT Standard_Real C2UAngle() const;
0153
0154 Standard_EXPORT Standard_Real C2URatio() const;
0155
0156 Standard_EXPORT Standard_Real C2VAngle() const;
0157
0158 Standard_EXPORT Standard_Real C2VRatio() const;
0159
0160 Standard_EXPORT Standard_Real G1Angle() const;
0161
0162 Standard_EXPORT Standard_Real G2CurvatureGap() const;
0163
0164 Standard_EXPORT Standard_Boolean IsC0() const;
0165
0166 Standard_EXPORT Standard_Boolean IsC1() const;
0167
0168 Standard_EXPORT Standard_Boolean IsC2() const;
0169
0170 Standard_EXPORT Standard_Boolean IsG1() const;
0171
0172 Standard_EXPORT Standard_Boolean IsG2() const;
0173
0174
0175
0176
0177 protected:
0178
0179
0180
0181
0182
0183 private:
0184
0185
0186 Standard_EXPORT void SurfC0 (const GeomLProp_SLProps& Surf1, const GeomLProp_SLProps& Surf2);
0187
0188 Standard_EXPORT void SurfC1 (GeomLProp_SLProps& Surf1, GeomLProp_SLProps& Surf2);
0189
0190 Standard_EXPORT void SurfC2 (GeomLProp_SLProps& Surf1, GeomLProp_SLProps& Surf2);
0191
0192 Standard_EXPORT void SurfG1 (GeomLProp_SLProps& Surf1, GeomLProp_SLProps& Surf2);
0193
0194 Standard_EXPORT void SurfG2 (GeomLProp_SLProps& Surf1, GeomLProp_SLProps& Surf2);
0195
0196
0197 Standard_Real myContC0;
0198 Standard_Real myContC1U;
0199 Standard_Real myContC1V;
0200 Standard_Real myContC2U;
0201 Standard_Real myContC2V;
0202 Standard_Real myContG1;
0203 Standard_Real myLambda1U;
0204 Standard_Real myLambda2U;
0205 Standard_Real myLambda1V;
0206 Standard_Real myLambda2V;
0207 Standard_Real myETA1;
0208 Standard_Real myETA2;
0209 Standard_Real myETA;
0210 Standard_Real myZETA1;
0211 Standard_Real myZETA2;
0212 Standard_Real myZETA;
0213 Standard_Real myAlpha;
0214 GeomAbs_Shape myTypeCont;
0215 Standard_Real myepsC0;
0216 Standard_Real myepsnul;
0217 Standard_Real myepsC1;
0218 Standard_Real myepsC2;
0219 Standard_Real myepsG1;
0220 Standard_Real myperce;
0221 Standard_Real mymaxlen;
0222 Standard_Real myGap;
0223 Standard_Boolean myIsDone;
0224 LocalAnalysis_StatusErrorType myErrorStatus;
0225
0226
0227 };
0228
0229
0230
0231
0232
0233
0234
0235 #endif