Salome HOME
Sources formated according to the codeing standards
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Point.cpp
index 5a879d49d7df64f9aaace7e1251898cdd8e9c7c7..e39bcc06efd38d8591c7f833c06ef193011a183a 100644 (file)
@@ -24,12 +24,11 @@ void ConstructionPlugin_Point::initAttributes()
   data()->addAttribute(POINT_ATTR_Z, ModelAPI_AttributeDouble::type());
 }
 
-void ConstructionPlugin_Point::execute() 
+void ConstructionPlugin_Point::execute()
 {
-  boost::shared_ptr<GeomAPI_Pnt> aPnt(new GeomAPI_Pnt(
-    data()->real(POINT_ATTR_X)->value(), 
-    data()->real(POINT_ATTR_Y)->value(), 
-    data()->real(POINT_ATTR_Z)->value()));
+  boost::shared_ptr<GeomAPI_Pnt> aPnt(
+      new GeomAPI_Pnt(data()->real(POINT_ATTR_X)->value(), data()->real(POINT_ATTR_Y)->value(),
+                      data()->real(POINT_ATTR_Z)->value()));
 
   boost::shared_ptr<ModelAPI_ResultConstruction> aConstr = document()->createConstruction(data());
   aConstr->setShape(GeomAlgoAPI_PointBuilder::point(aPnt));