mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 01:58:36 +05:00
GEOM: Bad displaying of distance between two objects in 3D
This commit is contained in:
parent
27ad88d272
commit
bce23c1f18
@ -296,7 +296,7 @@ SALOME_Prs* MeasureGUI_DistanceDlg::buildPrs()
|
||||
|
||||
gp_Pnt aPnt3( ( aPnt1.X() + aPnt2.X() ) / 2,
|
||||
( aPnt1.Y() + aPnt2.Y() ) / 2,
|
||||
( aPnt1.Z() + aPnt2.Z() ) / 2 + 100 );
|
||||
( aPnt1.Z() + aPnt2.Z() ) / 2 );
|
||||
|
||||
gp_Vec va( aPnt3, aPnt1 );
|
||||
gp_Vec vb( aPnt3, aPnt2 );
|
||||
|
Loading…
Reference in New Issue
Block a user