added functions for shape edge coordinates