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

index fdfdb61a0fd55267a9c2e12529251291bb3b3097..7c76a61d299222c7a017c01224a415951ce4a203 100644 (file)
@@ -46,7 +46,7 @@ int main ()
   Standard_Real radius(1.);
 
   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);
 
   // Now get a few points and project

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.