Simpler constructor for ContourLine