Detecting, modeling and rendering complex configurations of curvilinear features