几何尺寸与公差论坛

 找回密码
 注册
查看: 131|回复: 1

PR261557 2D distance plane1 to plane2 perpto plane2 gives incorrect MAX, MIN

[复制链接]
发表于 2009-5-5 21:05:31 | 显示全部楼层 |阅读模式
2D distance plane1 to plane2 perpto plane2 gives incorrect MAX, MIN values
<< Don Turcotte  --  05/04/09  08:47:14>>
2D distance plane1 to plane2 perpto plane2 gives incorrect MAX, MIN values.  The MEAS value is correct but does not lie between the MAX and MIN.  This is also a problem in V432.
Steps to reproduce:
Load attached program
Look at DIST2
Results:
The MAX, MIN values are both much larger than the MEAS value. The MEAS value is correct.
<<END>>
<< Changes made by Don Turcotte (Field Changes) -- 05/04/09  09:48:31>>
Action:  Don Turcotte to Yanhua Huang, Status:  OPEN to REVIEW
<<END>>
<< Changes made by Don Turcotte (Resolution Data) -- 05/04/09  09:48:25>>
** Bug Fix - Likely Exists in Previous Versions -  -  -  **
<<END>>
<< Don Turcotte (Development Notes)  --  05/04/09  09:48:09>>
Files inserted to server
------------------------
V432\DIMENS\DIM_2D_D.CPP
V44B\DIMENS\DIM_2D_D.CPP
<<END>>
<< Don Turcotte (Development Notes)  --  05/04/09  09:47:51>>
Fixed in V432 and V44B.  You will need to F9+Create on DIST2 in order to recalculated the correct MAX, MIN.
Files inserted to server
------------------------
V432\DIMENS\DIM_2D_D.CPP
V44B\DIMENS\DIM_2D_D.CPP
<<END>>
<< Changes made by Tim Wernicke (Field Changes) -- 05/04/09  08:29:54>>
Priority:  to Stop Rel.
<<END>>
<< Don Turcotte (Development Notes)  --  05/04/09  09:01:10>>
I have fixed this in V44B.  The direction vector in the maxmindist(...) method was not being normalized so it could end up pointing in a random direction.
I have not uploaded anything since this PR has not yet been assigned a priority.
<<END>>
 楼主| 发表于 2009-5-5 21:10:30 | 显示全部楼层

回复: PR261557 2D distance plane1 to plane2 perpto plane2 gives incorrect MAX

void CPCDdim_2d_distance::maxmindist(int calc_case)
  v1.normalize(); // PR261557 - must be normalized to get a correct vector (cf. do_math)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2025-1-3 10:14 , Processed in 0.035786 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表