Warning, file /include/opencascade/LProp3d_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 #ifndef _LProp3d_CLProps_HeaderFile
0017 #define _LProp3d_CLProps_HeaderFile
0018
0019 #include <Adaptor3d_Curve.hxx>
0020 #include <gp_Pnt.hxx>
0021 #include <gp_Vec.hxx>
0022 #include <gp_Dir.hxx>
0023 #include <LProp_Status.hxx>
0024
0025 class LProp_BadContinuity;
0026 class Standard_DomainError;
0027 class Standard_OutOfRange;
0028 class LProp_NotDefined;
0029 class gp_Vec;
0030 class gp_Pnt;
0031 class gp_Dir;
0032 class LProp3d_CurveTool;
0033
0034
0035
0036 class LProp3d_CLProps
0037 {
0038 public:
0039
0040 DEFINE_STANDARD_ALLOC
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050
0051
0052 Standard_EXPORT LProp3d_CLProps(const Handle(Adaptor3d_Curve)& C, const Standard_Integer N, const Standard_Real Resolution);
0053
0054
0055
0056
0057 Standard_EXPORT LProp3d_CLProps(const Handle(Adaptor3d_Curve)& C, const Standard_Real U, const Standard_Integer N, const Standard_Real Resolution);
0058
0059
0060
0061
0062
0063
0064
0065 Standard_EXPORT LProp3d_CLProps(const Standard_Integer N, const Standard_Real Resolution);
0066
0067
0068
0069 Standard_EXPORT void SetParameter (const Standard_Real U);
0070
0071
0072
0073 Standard_EXPORT void SetCurve (const Handle(Adaptor3d_Curve)& C);
0074
0075
0076 Standard_EXPORT const gp_Pnt& Value() const;
0077
0078
0079
0080 Standard_EXPORT const gp_Vec& D1();
0081
0082
0083
0084 Standard_EXPORT const gp_Vec& D2();
0085
0086
0087
0088 Standard_EXPORT const gp_Vec& D3();
0089
0090
0091
0092
0093 Standard_EXPORT Standard_Boolean IsTangentDefined();
0094
0095
0096 Standard_EXPORT void Tangent (gp_Dir& D);
0097
0098
0099 Standard_EXPORT Standard_Real Curvature();
0100
0101
0102 Standard_EXPORT void Normal (gp_Dir& N);
0103
0104
0105 Standard_EXPORT void CentreOfCurvature (gp_Pnt& P);
0106
0107
0108
0109
0110 protected:
0111
0112
0113
0114
0115
0116 private:
0117
0118
0119
0120 Handle(Adaptor3d_Curve) myCurve;
0121 Standard_Real myU;
0122 Standard_Integer myDerOrder;
0123 Standard_Real myCN;
0124 Standard_Real myLinTol;
0125 gp_Pnt myPnt;
0126 gp_Vec myDerivArr[3];
0127 gp_Dir myTangent;
0128 Standard_Real myCurvature;
0129 LProp_Status myTangentStatus;
0130 Standard_Integer mySignificantFirstDerivativeOrder;
0131
0132
0133 };
0134
0135
0136
0137
0138
0139
0140
0141 #endif