define the merge point of two axis ?

i need to select edges from one face but only from specific axis  and do the same to a second face with but on a  different axis and then compare the result to find the point were the two axis merge on ?

is there any code that would allow me to do that ?

SolidworksApi macros