高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|