Hi,
I have no idea at all about using the AIS_Dimensions and displaying it. Whatever I have tried is in vain. Somebody please help.
N. Sharjith
fhchina Fri, 07/12/2002 - 08:23
Hi, Sharjith,
It is very simple to setup the parameter for derived class of AIS_Dimensions, e.g. AIS_LengthDimension, the new a AIS_LengthDimension, then using AIS_InteractiveContext::Display it.
But the customed ability of AIS_Dimensions provided by OCC is far from the requirement of a profesional dimension scheme.
Just as Stephane pinpoints, One must derive from it and implement one's own Compute/ComputeSelection virtual method.
Fri, 07/12/2002 - 08:23
Hi, Sharjith,
It is very simple to setup the parameter for derived class of AIS_Dimensions, e.g. AIS_LengthDimension, the new a AIS_LengthDimension, then using AIS_InteractiveContext::Display it.
But the customed ability of AIS_Dimensions provided by OCC is far from the requirement of a profesional dimension scheme.
Just as Stephane pinpoints, One must derive from it and implement one's own Compute/ComputeSelection virtual method.
fhchina
Fri, 07/12/2002 - 12:13
Hi,
I tried doing it with the radius dimension but nothing was displayed on the screen.
Some code sample will help me more.
Thanks
N.Sharjith