查看单个帖子
旧 2009-05-06, 08:31 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】odgecircarc3d exception

odgecircarc3d exception
odgecircarc3d exception
this is causing an exception with this sample file.
if (pent->iskindof(oddbarc::desc()))
{
oddbarcptr parc = oddbarc::cast(pent);
if (parc.isnull())
{ // it was not oddbarc or pent was null
}
else
{
odgecircarc3d *pgearc;
pgearc = new odgecircarc3d(
parc->center(),
parc->normal(),
parc->normal().perpvector(),
parc->radius(),
parc->startangle(),
parc->endangle());
}
}
attached files
which dd version do you use? i failed to reproduce exception in 1.09 and 1.10.
sergey slezkin
i am using 1.09, borland builder 6 libraries.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)