From 4074ed86a8321a6f33cccc717008fa5dd834fb0e Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Wed, 22 Mar 2017 19:45:37 +0100 Subject: [PATCH] Fixed closest_point_to_shape. --- tests/opencascade/closest_point_to_shape.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/opencascade/closest_point_to_shape.cc b/tests/opencascade/closest_point_to_shape.cc index fdfdb61a0f..7c76a61d29 100644 --- a/tests/opencascade/closest_point_to_shape.cc +++ b/tests/opencascade/closest_point_to_shape.cc @@ -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 -- 2.39.5