Local linear estimation of irregular curves with applications door