Fast and Accurate 3D Edge Detection for Surface Reconstruction