Warning, file /include/opencascade/BRepLProp_CLProps.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepLProp_CLProps_HeaderFile
0018 #define _BRepLProp_CLProps_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <BRepAdaptor_Curve.hxx>
0024 #include <gp_Pnt.hxx>
0025 #include <gp_Vec.hxx>
0026 #include <gp_Dir.hxx>
0027 #include <LProp_Status.hxx>
0028 class LProp_BadContinuity;
0029 class Standard_DomainError;
0030 class Standard_OutOfRange;
0031 class LProp_NotDefined;
0032 class BRepAdaptor_Curve;
0033 class gp_Vec;
0034 class gp_Pnt;
0035 class gp_Dir;
0036 class BRepLProp_CurveTool;
0037
0038
0039
0040 class BRepLProp_CLProps
0041 {
0042 public:
0043
0044 DEFINE_STANDARD_ALLOC
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056 Standard_EXPORT BRepLProp_CLProps(const BRepAdaptor_Curve& C, const Standard_Integer N, const Standard_Real Resolution);
0057
0058
0059
0060
0061 Standard_EXPORT BRepLProp_CLProps(const BRepAdaptor_Curve& C, const Standard_Real U, const Standard_Integer N, const Standard_Real Resolution);
0062
0063
0064
0065
0066
0067
0068
0069 Standard_EXPORT BRepLProp_CLProps(const Standard_Integer N, const Standard_Real Resolution);
0070
0071
0072
0073 Standard_EXPORT void SetParameter (const Standard_Real U);
0074
0075
0076
0077 Standard_EXPORT void SetCurve (const BRepAdaptor_Curve& C);
0078
0079
0080 Standard_EXPORT const gp_Pnt& Value() const;
0081
0082
0083
0084 Standard_EXPORT const gp_Vec& D1();
0085
0086
0087
0088 Standard_EXPORT const gp_Vec& D2();
0089
0090
0091
0092 Standard_EXPORT const gp_Vec& D3();
0093
0094
0095
0096
0097 Standard_EXPORT Standard_Boolean IsTangentDefined();
0098
0099
0100 Standard_EXPORT void Tangent (gp_Dir& D);
0101
0102
0103 Standard_EXPORT Standard_Real Curvature();
0104
0105
0106 Standard_EXPORT void Normal (gp_Dir& N);
0107
0108
0109 Standard_EXPORT void CentreOfCurvature (gp_Pnt& P);
0110
0111
0112
0113
0114 protected:
0115
0116
0117
0118
0119
0120 private:
0121
0122
0123
0124 BRepAdaptor_Curve myCurve;
0125 Standard_Real myU;
0126 Standard_Integer myDerOrder;
0127 Standard_Real myCN;
0128 Standard_Real myLinTol;
0129 gp_Pnt myPnt;
0130 gp_Vec myDerivArr[3];
0131 gp_Dir myTangent;
0132 Standard_Real myCurvature;
0133 LProp_Status myTangentStatus;
0134 Standard_Integer mySignificantFirstDerivativeOrder;
0135
0136
0137 };
0138
0139
0140
0141
0142
0143
0144
0145 #endif