if you're looking for raycast collision points, RaycastHit2D.point returns the position where the ray hit a collider