]> https://gitweb.dealii.org/ - dealii.git/commitdiff
added namespace and () to the read_STEP and write_STEP name functions in the doc... 245/head
authorAndrea Mola <mola.andrea@gmail.com>
Wed, 12 Nov 2014 13:30:55 +0000 (14:30 +0100)
committerAndrea Mola <mola.andrea@gmail.com>
Wed, 12 Nov 2014 13:30:55 +0000 (14:30 +0100)
doc/news/changes.h
source/opencascade/utilities.cc

index 4ca91ec1cb0c091237e62abb50c761372b81fdae..ab6e3b7cb92a44d047835aaea8d53d787d62b61e 100644 (file)
@@ -335,7 +335,7 @@ inconvenience this causes.
 <ol>
   <li> New: Added support for STEP files in the OpenCASCADE 
   wrappers. STEP files can now be imported and exported respectively
-  with the read_STEP and write_STEP functions.
+  with the OpenCASCADE::read_STEP() and OpenCASCADE::write_STEP() functions.
   <br>
   (Andrea Mola, 2014/11/12)
   </li>
index 218342107e4eca58ebabb2ede205a92e857832eb..7b76e7a15e1adb46507d6ac1ba21779e3e7d459f 100644 (file)
@@ -211,7 +211,6 @@ namespace OpenCASCADE
   void write_IGES(const TopoDS_Shape &shape,
                   const std::string &filename)
   {
-
     IGESControl_Controller::Init();
     IGESControl_Writer ICW ("MM", 0);
     Standard_Boolean ok = ICW.AddShape (shape);
@@ -257,7 +256,6 @@ namespace OpenCASCADE
   void write_STEP(const TopoDS_Shape &shape,
                   const std::string &filename)
   {
-
     STEPControl_Controller::Init();
     STEPControl_Writer SCW;
     IFSelect_ReturnStatus status;
@@ -267,8 +265,6 @@ namespace OpenCASCADE
     status = SCW.Write(filename.c_str());
 
     AssertThrow(status = IFSelect_RetDone, ExcMessage("Failed to write translated shape to STEP file."));
-
-
   }
 
   double get_shape_tolerance(const TopoDS_Shape &shape)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.