1 // File: GeomAPI_Pln.hxx
2 // Created: 23 Apr 2014
3 // Author: Mikhail PONIKAROV
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 (Ax+By+Cz+D=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();
35 /// Returns the plane coefficients (Ax+By+Cz+D=0)
36 void coefficients(double& theA, double& theB, double& theC, double& theD);