1 // File: GeomAPI_Pnt.cpp
2 // Created: 23 Apr 2014
3 // Author: Mikhail PONIKAROV
5 #include<GeomAPI_Pnt.h>
9 #define MY_PNT static_cast<gp_Pnt*>(myImpl)
11 GeomAPI_Pnt::GeomAPI_Pnt(const double theX, const double theY, const double theZ)
12 : GeomAPI_Interface(new gp_Pnt(theX, theY, theZ))
15 double GeomAPI_Pnt::x() const
20 double GeomAPI_Pnt::y() const
25 double GeomAPI_Pnt::z() const
30 void GeomAPI_Pnt::setX(const double theX)
32 return MY_PNT->SetX(theX);
35 void GeomAPI_Pnt::setY(const double theY)
37 return MY_PNT->SetY(theY);
40 void GeomAPI_Pnt::setZ(const double theZ)
42 return MY_PNT->SetZ(theZ);