Line or curve satisfying a given geometric condition