Click here to Skip to main content
15,888,733 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
We can draw circle using Ellipse control in 2d but how to draw a circle in Viewport3d? There are some readily available controlslike cylinder, sphere, Line and Arrow in Helix3DToolkit But circle/ellipse is missing. So, pls share some links or how to draw circle in Viewport3D.
Posted

Ellipse in 3D is an elliptical cylinder of some small height.

—SA
 
Share this answer
 
Comments
Udaya from Chennai 22-Jul-13 2:47am    
Thanks.. I will get a disk kind of feature if i keep height of cylinder as very small value. But i wish to show just a circle like section of hollow cylinder. Please let me know how to get atleast hollow cylinder using Helix3DToolkit or any other way since i am new to Viewport3D.
Sergey Alexandrovich Kryukov 22-Jul-13 10:34am    
Do you understand that even if you use 2D API, say, Canvas, you never show "just a circle"? You actually show a thin area along the elliptic trajectory.
—SA
By keeping inner and outer diameter very close value then the PipeVisual3D of Helix3DToolkit looks like circle and it solves my problem. Thanks.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900