how to captuer the boundary info of a cylinder by using the function "glucylinder()"?

hi,
I meet some problems during programming a CAD.
how to captuer the boundary info of a cylinder by using the function “glucylinder()”?

If no, how should I do for capture the boundary info of a cylinder?

Thank you alls