65d123dcdfe2809fff9f35fb5ee7dac774717a0c
[occt.git] / src / gp / gp_Circ.cxx
1 // Copyright (c) 1995-1999 Matra Datavision
2 // Copyright (c) 1999-2014 OPEN CASCADE SAS
3 //
4 // This file is part of Open CASCADE Technology software library.
5 //
6 // This library is free software; you can redistribute it and / or modify it
7 // under the terms of the GNU Lesser General Public version 2.1 as published
8 // by the Free Software Foundation, with special exception defined in the file
9 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 // distribution for complete text of the license and disclaimer of any warranty.
11 //
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
14
15 #include <gp_Circ.ixx>
16
17 void gp_Circ::Mirror (const gp_Pnt& P)
18 { pos.Mirror(P); }
19
20 gp_Circ gp_Circ::Mirrored (const gp_Pnt& P) const
21 {
22   gp_Circ C = *this;
23   C.pos.Mirror (P);
24   return C; 
25 }
26
27 void gp_Circ::Mirror (const gp_Ax1& A1)
28 { pos.Mirror(A1); }
29
30 gp_Circ gp_Circ::Mirrored (const gp_Ax1& A1) const
31 {
32   gp_Circ C = *this;
33   C.pos.Mirror (A1);
34   return C; 
35 }
36
37 void gp_Circ::Mirror (const gp_Ax2& A2)
38 { pos.Mirror(A2); }
39
40 gp_Circ gp_Circ::Mirrored (const gp_Ax2& A2) const
41 {
42   gp_Circ C = *this;
43   C.pos.Mirror (A2);
44   return C; 
45 }
46