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
|
// File: Geom_Surface.cxx
// Created: Wed Mar 10 10:27:16 1993
// Author: JCV
// <fid@phylox>
// Copyright: Matra Datavision 1993
//File Geom_Surface.cxx, JCV 17/01/91
#include <Geom_Surface.ixx>
typedef Geom_Surface Surface;
typedef Handle(Geom_Surface) Handle(Surface);
//=======================================================================
//function : UReversed
//purpose :
//=======================================================================
Handle(Surface) Geom_Surface::UReversed () const
{
Handle(Surface) S = Handle(Surface)::DownCast(Copy());
S->UReverse();
return S;
}
//=======================================================================
//function : VReversed
//purpose :
//=======================================================================
Handle(Surface) Geom_Surface::VReversed () const
{
Handle(Surface) S = Handle(Surface)::DownCast(Copy());
S->VReverse();
return S;
}
//=======================================================================
//function : TransformParameters
//purpose :
//=======================================================================
void Geom_Surface::TransformParameters(Standard_Real& ,
Standard_Real& ,
const gp_Trsf& ) const
{
}
//=======================================================================
//function : ParametricTransformation
//purpose :
//=======================================================================
gp_GTrsf2d Geom_Surface::ParametricTransformation(const gp_Trsf&) const
{
gp_GTrsf2d dummy;
return dummy;
}
//=======================================================================
//function : UPeriod
//purpose :
//=======================================================================
Standard_Real Geom_Surface::UPeriod() const
{
Standard_NoSuchObject_Raise_if
( !IsUPeriodic(),"Geom_Surface::UPeriod");
Standard_Real U1, U2, V1, V2;
Bounds(U1,U2,V1,V2);
return ( U2 - U1);
}
//=======================================================================
//function : VPeriod
//purpose :
//=======================================================================
Standard_Real Geom_Surface::VPeriod() const
{
Standard_NoSuchObject_Raise_if
( !IsVPeriodic(),"Geom_Surface::VPeriod");
Standard_Real U1, U2, V1, V2;
Bounds(U1,U2,V1,V2);
return ( V2 - V1);
}
//=======================================================================
//function : Value
//purpose :
//=======================================================================
gp_Pnt Geom_Surface::Value(const Standard_Real U,
const Standard_Real V)const
{
gp_Pnt P;
D0(U,V,P);
return P;
}
|