Warning, file /include/opencascade/AppDef_MyLineTool.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 _AppDef_MyLineTool_HeaderFile
0018 #define _AppDef_MyLineTool_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <Standard_Integer.hxx>
0024 #include <gp_Pnt.hxx>
0025 #include <NCollection_Array1.hxx>
0026 #include <gp_Pnt2d.hxx>
0027 #include <gp_Vec.hxx>
0028 #include <gp_Vec2d.hxx>
0029 #include <Approx_Status.hxx>
0030 class AppDef_MultiLine;
0031
0032
0033
0034 class AppDef_MyLineTool
0035 {
0036 public:
0037 DEFINE_STANDARD_ALLOC
0038
0039
0040 Standard_EXPORT static int FirstPoint(const AppDef_MultiLine& ML);
0041
0042
0043 Standard_EXPORT static int LastPoint(const AppDef_MultiLine& ML);
0044
0045
0046 Standard_EXPORT static int NbP2d(const AppDef_MultiLine& ML);
0047
0048
0049 Standard_EXPORT static int NbP3d(const AppDef_MultiLine& ML);
0050
0051
0052
0053 Standard_EXPORT static void Value(const AppDef_MultiLine& ML,
0054 const int MPointIndex,
0055 NCollection_Array1<gp_Pnt>& tabPt);
0056
0057
0058
0059 Standard_EXPORT static void Value(const AppDef_MultiLine& ML,
0060 const int MPointIndex,
0061 NCollection_Array1<gp_Pnt2d>& tabPt2d);
0062
0063
0064
0065 Standard_EXPORT static void Value(const AppDef_MultiLine& ML,
0066 const int MPointIndex,
0067 NCollection_Array1<gp_Pnt>& tabPt,
0068 NCollection_Array1<gp_Pnt2d>& tabPt2d);
0069
0070
0071
0072 Standard_EXPORT static bool Tangency(const AppDef_MultiLine& ML,
0073 const int MPointIndex,
0074 NCollection_Array1<gp_Vec>& tabV);
0075
0076
0077
0078 Standard_EXPORT static bool Tangency(const AppDef_MultiLine& ML,
0079 const int MPointIndex,
0080 NCollection_Array1<gp_Vec2d>& tabV2d);
0081
0082
0083
0084 Standard_EXPORT static bool Tangency(const AppDef_MultiLine& ML,
0085 const int MPointIndex,
0086 NCollection_Array1<gp_Vec>& tabV,
0087 NCollection_Array1<gp_Vec2d>& tabV2d);
0088
0089
0090
0091 Standard_EXPORT static bool Curvature(const AppDef_MultiLine& ML,
0092 const int MPointIndex,
0093 NCollection_Array1<gp_Vec>& tabV);
0094
0095
0096
0097 Standard_EXPORT static bool Curvature(const AppDef_MultiLine& ML,
0098 const int MPointIndex,
0099 NCollection_Array1<gp_Vec2d>& tabV2d);
0100
0101
0102
0103 Standard_EXPORT static bool Curvature(const AppDef_MultiLine& ML,
0104 const int MPointIndex,
0105 NCollection_Array1<gp_Vec>& tabV,
0106 NCollection_Array1<gp_Vec2d>& tabV2d);
0107
0108
0109 Standard_EXPORT static Approx_Status WhatStatus(const AppDef_MultiLine& ML,
0110 const int I1,
0111 const int I2);
0112
0113
0114
0115 Standard_EXPORT static AppDef_MultiLine MakeMLBetween(const AppDef_MultiLine& ML,
0116 const int I1,
0117 const int I2,
0118 const int NbPMin);
0119
0120
0121
0122 Standard_EXPORT static bool MakeMLOneMorePoint(const AppDef_MultiLine& ML,
0123 const int I1,
0124 const int I2,
0125 const int indbad,
0126 AppDef_MultiLine& OtherLine);
0127 };
0128
0129 #endif