[vtkusers] Re: How to draw a circle ?
Goodwin Lawlor
goodwin.lawlor at ucd.ie
Mon Nov 6 13:18:43 EST 2006
Hummel, Jerome wrote:
> Dear VTK users,
>
> Sorry in advance if the answer is straightforward, I am kind of a newbie here. I
> can' t figure out how to draw a circle (or a torre) in a 3D space (giving a plan
> a center and a radius)?
> Can anybody help?
> Thank you for your time.
> regards,
Hi Jerome,
You can use vtkRegularPolygonSource... set the center, radius and
normal. Obviously, the more NumberOfSides you set the more circular your
polygon will look.
hth
Goodwin
More information about the vtkusers
mailing list