Find object by coordinates

Hi, I begin study SolidWorks API. I would like write simple Add-in to Solidworks which can checked is there some face or edge in specified coordinates. How i can solve this problem? Can you help me?

Thanks for your time!

SolidworksApi macros