b311480e |
1 | // Created on: 1993-03-10 |
2 | // Created by: JCV |
3 | // Copyright (c) 1993-1999 Matra Datavision |
973c2be1 |
4 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | // |
973c2be1 |
6 | // This file is part of Open CASCADE Technology software library. |
b311480e |
7 | // |
d5f74e42 |
8 | // This library is free software; you can redistribute it and/or modify it under |
9 | // the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
10 | // by the Free Software Foundation, with special exception defined in the file |
11 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | // distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | // |
973c2be1 |
14 | // Alternatively, this file may be used under the terms of Open CASCADE |
15 | // commercial license or contractual agreement. |
7fd59977 |
16 | |
42cf5bc1 |
17 | #include <Geom_ElementarySurface.hxx> |
7fd59977 |
18 | |
92efcf78 |
19 | IMPLEMENT_STANDARD_RTTIEXT(Geom_ElementarySurface,Geom_Surface) |
20 | |
7fd59977 |
21 | //======================================================================= |
22 | //function : Continuity |
23 | //purpose : |
24 | //======================================================================= |
25 | |
2724a0b3 |
26 | GeomAbs_Shape Geom_ElementarySurface::Continuity () const |
27 | { |
7fd59977 |
28 | return GeomAbs_CN; |
29 | } |
30 | |
31 | //======================================================================= |
32 | //function : IsCNu |
33 | //purpose : |
34 | //======================================================================= |
35 | |
2724a0b3 |
36 | Standard_Boolean Geom_ElementarySurface::IsCNu (const Standard_Integer ) const |
37 | { |
7fd59977 |
38 | return Standard_True; |
39 | } |
40 | |
41 | //======================================================================= |
42 | //function : IsCNv |
43 | //purpose : |
44 | //======================================================================= |
45 | |
2724a0b3 |
46 | Standard_Boolean Geom_ElementarySurface::IsCNv (const Standard_Integer ) const |
47 | { |
7fd59977 |
48 | return Standard_True; |
49 | } |
50 | |
7fd59977 |
51 | //======================================================================= |
52 | //function : UReverse |
53 | //purpose : |
54 | //======================================================================= |
55 | |
2724a0b3 |
56 | void Geom_ElementarySurface::UReverse () |
57 | { |
7fd59977 |
58 | pos.YReverse(); |
59 | } |
60 | |
7fd59977 |
61 | //======================================================================= |
62 | //function : VReverse |
63 | //purpose : |
64 | //======================================================================= |
65 | |
2724a0b3 |
66 | void Geom_ElementarySurface::VReverse () |
67 | { |
7fd59977 |
68 | pos.ZReverse(); |
69 | } |
bc73b006 |
70 | |
71 | //======================================================================= |
72 | //function : DumpJson |
73 | //purpose : |
74 | //======================================================================= |
75 | void Geom_ElementarySurface::DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth) const |
76 | { |
77 | OCCT_DUMP_TRANSIENT_CLASS_BEGIN (theOStream) |
78 | |
79 | OCCT_DUMP_BASE_CLASS (theOStream, theDepth, Geom_Surface) |
80 | |
81 | OCCT_DUMP_FIELD_VALUES_DUMPED (theOStream, theDepth, &pos) |
82 | } |