File: LProp3d_SLProps.hxx

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (136 lines) | stat: -rw-r--r-- 3,287 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _LProp3d_SLProps_HeaderFile
#define _LProp3d_SLProps_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

#include <Handle_Adaptor3d_HSurface.hxx>
#include <Standard_Real.hxx>
#include <Standard_Integer.hxx>
#include <gp_Pnt.hxx>
#include <gp_Vec.hxx>
#include <gp_Dir.hxx>
#include <LProp_Status.hxx>
#include <Standard_Boolean.hxx>
class Adaptor3d_HSurface;
class LProp_BadContinuity;
class Standard_DomainError;
class Standard_OutOfRange;
class LProp_NotDefined;
class LProp3d_SurfaceTool;
class gp_Pnt;
class gp_Vec;
class gp_Dir;



class LProp3d_SLProps 
{
public:

  DEFINE_STANDARD_ALLOC

  
  Standard_EXPORT LProp3d_SLProps(const Handle(Adaptor3d_HSurface)& S, const Standard_Real U, const Standard_Real V, const Standard_Integer N, const Standard_Real Resolution);
  
  Standard_EXPORT LProp3d_SLProps(const Handle(Adaptor3d_HSurface)& S, const Standard_Integer N, const Standard_Real Resolution);
  
  Standard_EXPORT LProp3d_SLProps(const Standard_Integer N, const Standard_Real Resolution);
  
  Standard_EXPORT   void SetSurface (const Handle(Adaptor3d_HSurface)& S) ;
  
  Standard_EXPORT   void SetParameters (const Standard_Real U, const Standard_Real V) ;
  
  Standard_EXPORT  const  gp_Pnt& Value()  const;
  
  Standard_EXPORT  const  gp_Vec& D1U() ;
  
  Standard_EXPORT  const  gp_Vec& D1V() ;
  
  Standard_EXPORT  const  gp_Vec& D2U() ;
  
  Standard_EXPORT  const  gp_Vec& D2V() ;
  
  Standard_EXPORT  const  gp_Vec& DUV() ;
  
  Standard_EXPORT   Standard_Boolean IsTangentUDefined() ;
  
  Standard_EXPORT   void TangentU (gp_Dir& D) ;
  
  Standard_EXPORT   Standard_Boolean IsTangentVDefined() ;
  
  Standard_EXPORT   void TangentV (gp_Dir& D) ;
  
  Standard_EXPORT   Standard_Boolean IsNormalDefined() ;
  
  Standard_EXPORT  const  gp_Dir& Normal() ;
  
  Standard_EXPORT   Standard_Boolean IsCurvatureDefined() ;
  
  Standard_EXPORT   Standard_Boolean IsUmbilic() ;
  
  Standard_EXPORT   Standard_Real MaxCurvature() ;
  
  Standard_EXPORT   Standard_Real MinCurvature() ;
  
  Standard_EXPORT   void CurvatureDirections (gp_Dir& MaxD, gp_Dir& MinD) ;
  
  Standard_EXPORT   Standard_Real MeanCurvature() ;
  
  Standard_EXPORT   Standard_Real GaussianCurvature() ;




protected:





private:



  Handle(Adaptor3d_HSurface) mySurf;
  Standard_Real myU;
  Standard_Real myV;
  Standard_Integer myDerOrder;
  Standard_Integer myCN;
  Standard_Real myLinTol;
  gp_Pnt myPnt;
  gp_Vec myD1u;
  gp_Vec myD1v;
  gp_Vec myD2u;
  gp_Vec myD2v;
  gp_Vec myDuv;
  gp_Dir myNormal;
  Standard_Real myMinCurv;
  Standard_Real myMaxCurv;
  gp_Dir myDirMinCurv;
  gp_Dir myDirMaxCurv;
  Standard_Real myMeanCurv;
  Standard_Real myGausCurv;
  Standard_Integer mySignificantFirstDerivativeOrderU;
  Standard_Integer mySignificantFirstDerivativeOrderV;
  LProp_Status myUTangentStatus;
  LProp_Status myVTangentStatus;
  LProp_Status myNormalStatus;
  LProp_Status myCurvatureStatus;


};







#endif // _LProp3d_SLProps_HeaderFile