Dup Edges of cylinder

Is there a component equivalent to DupEdge in Rhino? I have a cylinder generated in Grasshopper that I need the curves of the 2 ends for other operations in the script.

I have tried a few things that have all failed.

TIA
Robb

Like this?

That works perfectly in this case. I got so far down complicated rabbit holes and missed the simple.

Many thanks,
Robb