1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: GeomAPI_Pln.hxx
4 // Created: 23 Apr 2014
5 // Author: Mikhail PONIKAROV
11 #include <GeomAPI_Interface.h>
19 * \brief 3D point defined by three coordinates
22 class GEOMAPI_EXPORT GeomAPI_Pln : public GeomAPI_Interface
25 /// Creation of plane by the axis placement
26 GeomAPI_Pln(const std::shared_ptr<GeomAPI_Ax3>& theAxis);
28 /// Creation of plane by the point and normal
29 GeomAPI_Pln(const std::shared_ptr<GeomAPI_Pnt>& thePoint,
30 const std::shared_ptr<GeomAPI_Dir>& theNormal);
32 /// Creation of plane by coefficients (Ax+By+Cz+D=0)
33 GeomAPI_Pln(const double theA, const double theB, const double theC, const double theD);
35 /// Returns a point of this plane
36 std::shared_ptr<GeomAPI_Pnt> location();
38 /// Returns a plane normal
39 std::shared_ptr<GeomAPI_Dir> direction();
41 /// Returns the plane coefficients (Ax+By+Cz+D=0)
42 void coefficients(double& theA, double& theB, double& theC, double& theD);