Convexity properties of space curves