Salome HOME
Issue #856: "show parent feature" should be available only on result bodies
[modules/shaper.git] / src / GeomAPI / GeomAPI_Circ2d.cpp
index 0a7a9a01bd77c3848d9582b0e2e06f502e2af92e..0e0a21a310363b97656f94d14f5b6ecd05f17ee9 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        GeomAPI_Circ2d.cpp
 // Created:     29 May 2014
 // Author:      Artem ZHIDKOV
@@ -16,7 +18,7 @@
 
 #include <IntAna2d_AnaIntersection.hxx>
 
-#define MY_CIRC2D static_cast<gp_Circ2d*>(myImpl)
+#define MY_CIRC2D implPtr<gp_Circ2d>()
 
 static gp_Circ2d* newCirc2d(const double theCenterX, const double theCenterY, const gp_Dir2d theDir,
                             const double theRadius)