Get coordinates from 2D sketch

How can I get the coordinates of a point included in a 2D sketch because a 2D sketch is always on its own coordinate system.

Thanks for your help

SolidworksApi macros