From fefd013a81df21545fd5fa36296f15b4382c76b3 Mon Sep 17 00:00:00 2001 From: gdd Date: Fri, 16 Apr 2010 08:11:57 +0000 Subject: [PATCH] Fix compilation problem on Debian Sarge --- src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx b/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx index 7dd16e1ae..96f81eaf4 100644 --- a/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx @@ -98,13 +98,14 @@ GEOMImpl_IAdvancedOperations::~GEOMImpl_IAdvancedOperations() { gp_Trsf GEOMImpl_IAdvancedOperations::GetPositionTrsf(double theL1, double theL2, Handle(GEOM_Object) theP1, Handle(GEOM_Object) theP2, Handle(GEOM_Object) theP3) { // Old Local Coordinates System oldLCS + gp_Pnt P0(0, 0, 0); gp_Pnt P1(-theL1, 0, 0); gp_Pnt P2(theL1, 0, 0); gp_Pnt P3(0, 0, theL2); gp_Dir oldX(gp_Vec(P1, P2)); - gp_Dir oldZ(gp_Vec(gp::Origin(), P3)); - gp_Ax3 oldLCS(gp::Origin(), oldZ, oldX); + gp_Dir oldZ(gp_Vec(P0, P3)); + gp_Ax3 oldLCS(P0, oldZ, oldX); // New Local Coordinates System newLCS double LocX, LocY, LocZ; -- 2.39.2