How can I get the vertices of an EdgesGeometry?

Nevermind, after some searching, I got the solution here thanks to @Mugen87.