mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-05 08:44:16 +05:00
Fix compilation problem on Debian Sarge
This commit is contained in:
parent
2e84c26b17
commit
fefd013a81
@ -98,13 +98,14 @@ GEOMImpl_IAdvancedOperations::~GEOMImpl_IAdvancedOperations() {
|
|||||||
gp_Trsf GEOMImpl_IAdvancedOperations::GetPositionTrsf(double theL1, double theL2, Handle(GEOM_Object) theP1,
|
gp_Trsf GEOMImpl_IAdvancedOperations::GetPositionTrsf(double theL1, double theL2, Handle(GEOM_Object) theP1,
|
||||||
Handle(GEOM_Object) theP2, Handle(GEOM_Object) theP3) {
|
Handle(GEOM_Object) theP2, Handle(GEOM_Object) theP3) {
|
||||||
// Old Local Coordinates System oldLCS
|
// Old Local Coordinates System oldLCS
|
||||||
|
gp_Pnt P0(0, 0, 0);
|
||||||
gp_Pnt P1(-theL1, 0, 0);
|
gp_Pnt P1(-theL1, 0, 0);
|
||||||
gp_Pnt P2(theL1, 0, 0);
|
gp_Pnt P2(theL1, 0, 0);
|
||||||
gp_Pnt P3(0, 0, theL2);
|
gp_Pnt P3(0, 0, theL2);
|
||||||
|
|
||||||
gp_Dir oldX(gp_Vec(P1, P2));
|
gp_Dir oldX(gp_Vec(P1, P2));
|
||||||
gp_Dir oldZ(gp_Vec(gp::Origin(), P3));
|
gp_Dir oldZ(gp_Vec(P0, P3));
|
||||||
gp_Ax3 oldLCS(gp::Origin(), oldZ, oldX);
|
gp_Ax3 oldLCS(P0, oldZ, oldX);
|
||||||
|
|
||||||
// New Local Coordinates System newLCS
|
// New Local Coordinates System newLCS
|
||||||
double LocX, LocY, LocZ;
|
double LocX, LocY, LocZ;
|
||||||
|
Loading…
Reference in New Issue
Block a user