]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed circle_normal_projection.
authorLuca Heltai <luca.heltai@sissa.it>
Wed, 22 Mar 2017 18:39:40 +0000 (19:39 +0100)
committerLuca Heltai <luca.heltai@sissa.it>
Wed, 22 Mar 2017 18:39:40 +0000 (19:39 +0100)
tests/opencascade/circle_normal_projection.cc

index 05cf8c9caafc171028abc3b4faaca81f260e6954..57712988580b5c94859806e3eda5ab88a774eb50 100644 (file)
@@ -51,7 +51,7 @@ int main ()
   Standard_Real radius(std::sqrt(2.)/2.);
 
   GC_MakeCircle make_circle(axis, radius);
-  Handle(Geom_Curve) circle = make_circle.Value();
+  Handle(Geom_Circle) circle = make_circle.Value();
   TopoDS_Edge edge = BRepBuilderAPI_MakeEdge(circle);
 
   // Create a boundary projector.

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.