how to use AIS_DiameterDimension to display the dimension?

Hi all, i want to display the dimension of a specific shape, for example, a circle. so I found AIS_DiameterDimension class.However, how to use it? Could you put up the sample code? Thank you!

Daniel Neander's picture


Search in MFC samples for an example using AIS_DiameterDimension. I think Viewer3D example demonstrates a few types of dimensioning.

Good luck