1 // File: GeomAPI_Pln.hxx
2 // Created: 23 Apr 2014
3 // Author: Mikhail PONIKAROV
5 #ifndef GeomAPI_Pln_HeaderFile
6 #define GeomAPI_Pln_HeaderFile
8 #include <boost/shared_ptr.hpp>
9 #include <GeomAPI_Interface.h>
16 * \brief 3D point defined by three coordinates
19 class GEOMAPI_EXPORT GeomAPI_Pln: public GeomAPI_Interface
22 /// Creation of plane by the point and normal
23 GeomAPI_Pln(const boost::shared_ptr<GeomAPI_Pnt>& thePoint,
24 const boost::shared_ptr<GeomAPI_Dir>& theNormal);
26 /// Creation of plane by coefficients A * X + B * Y + C * Z + D = 0.0
27 GeomAPI_Pln(const double theA, const double theB, const double theC, const double theD);
29 /// Returns a point of this plane
30 boost::shared_ptr<GeomAPI_Pnt> location();
32 /// Returns a plane normal
33 boost::shared_ptr<GeomAPI_Dir> direction();