几何尺寸与公差论坛

 找回密码
 注册
查看: 183|回复: 0

Which role is IsOutputPageUserDefinedStepSize, SetOutputPageStepSize?

[复制链接]
发表于 2008-4-6 11:04:31 | 显示全部楼层 |阅读模式
Which role is IsOutputPageUserDefinedStepSize, SetOutputPageStepSize, IsUserDefinedStepSize, SetUserDefinedStepSize?Yanhua,

This was originally used to allow the user to set the “step size” used by the flatness per unit area analysis algorithm.  This is no longer used since the “step size” is now handled automatically by the flatness per unit analysis algorithm.



Regards,

Don




From: Yanhua HUANG
Sent: Wednesday, February 20, 2008 3:19 AM
To: Don Turcotte
Subject: Which role is IsOutputPageUserDefinedStepSize, SetOutputPageStepSize, IsUserDefinedStepSize, SetUserDefinedStepSize?





Don,

Which role is IsOutputPageUserDefinedStepSize, SetOutputPageStepSize, IsUserDefinedStepSize, SetUserDefinedStepSize?

   m_pFCF->SetLine3PerUnitLengthStr(in_text);

    // PR242349

    if( !IsOutputPageUserDefinedStepSize() )

    {

      tmp_dbl = _ttof(in_text) * 0.5;

      tmp_dbl /= dUnitsConversion;

      tmp_str = dblstr(m_pPartProgram, tmp_dbl, _T("%lf"), TRUE);

      m_pFCF->SetLine3PerUnitStepSizeStr(tmp_str);

      SetOutputPageStepSize(TRUE);

}

BOOL IsUserDefinedStepSize() // PR242349

  {

    return m_bUserDefinedStepSize;

  }

  void SetUserDefinedStepSize(BOOL bState) // PR242349

  {

    m_bUserDefinedStepSize = bState;

  }



Yanhua Huang yanhua.huang@hexagonmetrology.com
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 00:17 , Processed in 0.038372 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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