#include <gp_Dir2d.hxx>
-#define MY_DIR static_cast<gp_Dir2d*>(myImpl)
+#define MY_DIR implPtr<gp_Dir2d>()
GeomAPI_Dir2d::GeomAPI_Dir2d(const double theX, const double theY)
: GeomAPI_Interface(new gp_Dir2d(theX, theY))
return std::shared_ptr<GeomAPI_XY>(new GeomAPI_XY(MY_DIR->X(), MY_DIR->Y()));
}
+void GeomAPI_Dir2d::reverse()
+{
+ MY_DIR->Reverse();
+}
+
double GeomAPI_Dir2d::dot(const std::shared_ptr<GeomAPI_Dir2d>& theArg) const
{
return MY_DIR->Dot(theArg->impl<gp_Dir2d>());